An extension to TellDontAsk ↦
Martin Fowler’s TellDontAsk principle is very useful in object-oriented programming. However, it is not enough to follow only this idea: we also need to be very careful in order to not break the interface of the object, otherwise we won’t be able to keep telling it what to do later and we will end up asking for data again.
Discussion
Sign in or Join to comment or subscribe