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

"I think that object orientedness is almost as much of a hoax as Artificial Intelligence. I have yet to see an interesting piece of code that comes from these OO people."

This someone is Alexander Stepanov the author of the STL (the C++ Standard Library).

Authority doesn't make it true ;) : How about Qt? Or Cocoa?

OO was overhyped. It doesn't fit every problem domain. That doesn't mean the opposite is true. There are domains where OO with class hierarchies is quite a good model, such as GUI toolkits.

Try this keyword: "template".

Templates are a compile-time construct. Algebraic data types are not. I think you are confusing ADTs with parametric polymorphism.

According to you, programs written in Java or .NET should be more secure. That's not the case.

Proof it. I think it is reasonable to assume that Java code produced by the average programmer is safer than C++ code produced by the average programmer. Java does not have pointer arithmetic, does bounds checking, etc.



> Templates are a compile-time construct. Algebraic data types are not. I think you are confusing ADTs with parametric polymorphism.

You keep saying that word. I do not think it means what you think it means: http://en.wikipedia.org/wiki/Algebraic_data_type




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

Search: