In my opinion one of the best definition :
Procedural code gets information then makes decisions. Object-oriented code tells objects to do things. Alec Sharp
That’s an explanation for the Tell, don’t ask advice for OOP.
In my opinion one of the best definition :
Procedural code gets information then makes decisions. Object-oriented code tells objects to do things. Alec Sharp
That’s an explanation for the Tell, don’t ask advice for OOP.