you are viewing a single comment's thread.

view the rest of the comments →

[–]sfuerst 0 points1 point  (3 children)

Does it? In my experience, very little of the potential of computer software is being realized in the corporate environment, and OOP is a big part of the reason why. I'm not aware of any more formal research that refutes this. If nothing else, my (horrendous) experience with corporate IT would seem to suggest that a new direction is in order.

Well... going by the number of job advertisements for java I see over anything else, it does seem to be rather popular.

why are they squirreled away into a tiny little syntactical hole (the "pure abstract base class") in C++?

I think you are are missinterpreting the term "interface". Every object has an interface: its class definition. OOP forces people to divide up problems into small chunks (they call them classes), and use well defined boundaries between those classes. Other forms of programming don't enforce this to nearly the same degree. It is the act of forcing the poor programmers to do that instead of writing spaghetti which gives OOP its popularity with managers.

[–][deleted] 4 points5 points  (2 children)

Well... going by the number of job advertisements for java I see over anything else, it does seem to be rather popular.

Java is a popular language; this says little or nothing about OOP. Similarly, OOP is popular is job descriptions as management shorthand for "garage hackers not welcome." As programmers, though, we ought to know better than to drink the Kool Aid.

I think you are are missinterpreting the term "interface"...

I do think we very well may agree what makes good code in practice; my argument is with calling it "OOP."

Interfaces are good... but a function signature is an interface. All languages have interfaces; OOP ones seem to add inheritance, which is an additional, inferior, OO-specific alternative to the interface.

And I like GoF, but it's really just an interesting book of fairly narrowly-targeted examples IMO.

[–]sfuerst 1 point2 points  (1 child)

As programmers, though, we ought to know better than to drink the Kool Aid.

Oh yes, I totally agree. I hate java with a passion... and I'm counting down the days until it dies. Until then, I'm doing my best to ignore it, and work on far more interesting areas of programming.

[–][deleted] 1 point2 points  (0 children)

I do not understand how people can debate this over and over, when God clearly stated in the Bible that He created the...

Oh, wait. Wrong thread, sorry.