Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OOP isn't a panacea for bad design. It is a single design strategy that works well for some problems. We can descend deeply into the OOP way of viewing the world . Then we can construct really complicated, epicycle[0] like efforts to model everything under the sun using OOP's ontological system, or we can recognize it as one useful ontology amongst many and use it when it's appropriate. All of the "OOP is the one true way" literature ends up making some good and valid points.

Their main effective point can be summarized sarcastically as

"Here is how to implement Greenspun's 10th Rule in a way that is allegedly more maintainable, and we can say is object oriented. Buy more books, and also we have some modelling tools you can spend time using instead of writing code that does something."

Circles are cool, I agree. Sometimes things are elliptical though, and it's much better to recognize that and use ellipses to model them then to cleave to the circle industry's way of doing business.

In summation, this, and most industry(software or otherwise) gripes can be best understood by meditating on this message from beyond the grave from Christopher Latore Wallace Smith[\\]

http://www.youtube.com/watch?v=nIyzG8i7Kg0

[0]http://en.wikipedia.org/wiki/Epicycle

[1]http://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule

[\\]http://bit.ly/4MiIh7



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: