Results 1 to 25 of 190
May 20, 2006, 01:24 #14
Originally Posted by McGruff
- Join Date
- Aug 2005
- 0 Post(s)
- 0 Thread(s)
But I don't think OOP helps a lot. It transforms this:
There is ONE genuine use, and that's first class functions. In OOP, it's called the command pattern. You don't need this at all if your language supports first-class-functions.
Can you give me one example where OOP is useful (makes the code better)?
Well, you can't deny that a code is definatly of better quality if it uses one class to handle let's say all the news functions instead of retyping all of the code everytime you need to do something with news.