Hacker News new | past | comments | ask | show | jobs | submit login

>I wonder what rob pike has to say about OOP or java, I wish I could listen to it.

“object-oriented design is the roman numerals of computing.” - Rob Pike (http://harmful.cat-v.org/software/OO_programming/)

Some other gems from that page:

“Object-oriented programming is an exceptionally bad idea which could only have originated in California.” – Edsger Dijkstra

“The phrase "object-oriented” means a lot of things. Half are obvious, and the other half are mistakes.“ – Paul Graham

“I used to be enamored of object-oriented programming. I’m now finding myself leaning toward believing that it is a plot designed to destroy joy.” – Eric Allman

“The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.” – Joe Armstrong




When I see the never end complaints about object-oriented programming, I'm reminded of Bjarne Stroustrup's quote "There are only two kinds of languages: the ones people complain about and the ones nobody uses." I think that applies equally well to software design concepts.


> “object-oriented design is the roman numerals of computing.” - Rob Pike

Which is weird because Pike's Rule 4 is one of the fundamental principles of OO design.


I would love to throw those quote at any programming class that promotes OOP.


They're only relevant for Simula-like class-based OO. Message passing OO is actually a good and criminally underrated paradigm.


Message passing as in argv ? that's at a very high level, that's not really underrated nor so life changing.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: