Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Calling poor code organization OOP is flawed (Score 4, Interesting) 303

Dijkstra makes an argument about what he calls object oriented programming, but doesn't really use OOP. That he happens to base his argument around two styles of coding, one that is clearly procedural, and one that happens to use objects, is merely accidental. His argument is centered around poor code organization, plain and simple. He passingly slaps down some code modeling Student as an object, neglecting to mention anything about why one would do that (e.g. encapsulation), and completely fails to even mention other OOP ideas such as composition, inheritance, polymorphism, etc. In short, he bashes horrendous code organization, and calls that OOP, without addressing a single reason typically given in favor of OOP. Frankly, that article was awful.

Slashdot Top Deals

They are called computers simply because computation is the only significant job that has so far been given to them.

Working...