Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

OOP is ?

Name: Anonymous 2012-07-15 9:19

http://harmful.cat-v.org/software/OO_programming/why_oo_sucks

Why do people hate on OO so much.  Do a degree it was forced down my throat in college and many of its principles I disagree with.  It almost seemed design to cause code bloat and run slower than a non OO language, but still has some reasonable application in modern programming.

Name: Anonymous 2012-07-15 19:10

OOP sucks because it is merely a ``good'' approximation (and more often than not a mediocre one) of the domain of whatever you are doing, and never the best one.  So if you are willing to settle with a tolerably good, passable representation of your entities, OOP is of much benefit to you because it can be applied without turning your brain on and burning precious glucose in the process.

However, if you are looking for the best way to define your objects of interest in your programs, you will have to learn a lot of theory about all kinds of models and paradigms of programming, and then attempt to apply this knowledge to choose a right way of expression.  Depending on your domain of interest, it can be anything, from state automata to logic programming, but it is never OOP.

Name: Anonymous 2012-07-16 1:39

OOP is ?

OOP is a simple form of ad-hoc polymorphism and encapsulation.

Anyone who thinks they are:
- A model of the real world
- A way to reuse code
- A place where main() goes
- A way to create hierarchies
is stupid.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-07-16 4:26

Forced OOP is harmful. Overuse of OOP is harmful.

Using OOP features where you would otherwise use structs and functions that have "this" pointers isn't. You get a boost (no pun intended) in productivity and the compiled code will be almost if not exactly the same.

>>30
Lisp is fun to play with but much too inefficient. This post looks like that of someone under the influence of a mind-altering substance, and that's what the experience of using Lisp is like, but someone who is high can't think practically and clearly.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List