News for hackers. Stuff that matters.
Re:How Class-based Programming Sucks (2011) by MartinCron on Friday December 13, 2013 @12:10PM (#6901588)
Those concepts can, and in many cases should, be as abstract as you like: eg, an "Algorithm" object.

I only really "got" design patterns when I realized that the strategy pattern was just treating an algorithm/implementation as an object and stopped thinking that OO was exclusively about mapping things to real world objects.

There are no comments on this comment yet.