PDA

View Full Version : OOP Sucks



Gleeok
10-16-2017, 07:15 PM
You're all stupid.


That is all. Have a nice day. :)

ZoriaRPG
10-16-2017, 09:24 PM
I'm on the same page as you. OOP is for the birds. It needlessly complicates stuff to the point where without an advanced IDE, you don't know what the flidd is happening. I prefer precise, and concise code. All of the absurd objectification that J-languages injected into C to become cpp11 is a thorn in me side.

Case in point: I do not require a fdebugger to find, and fix bugs in C99, and cpp03/cpp08 code that is not overly objectified.

99.995% of the time, I can find, and fix, bugs using a plain text editor.

All of the extraneous OOP and needless abstraction drives me batty, and it's a trap, IMO. If you write clean, simple code, then you can work out flaws with no more than visual examination. Anything that reduces human legibility is breaking a fundamental premise of programming: Program code is written for humans to read, and only incidentally for machines to execute.

Chris Miller
10-17-2017, 04:52 PM
You're all stupid.


That is all. Have a nice day. :)


Well, we could just make that a general announcement.

Anarchy_Balsac
10-18-2017, 07:29 AM
Ocarina Of PIME?

ZoriaRPG
10-18-2017, 01:07 PM
Ocarina Of PIME?



Object-Oriented Programming. Nice try, though.

DarkDragon
10-20-2017, 11:01 AM
99.995% of the time, I can find, and fix, bugs using a plain text editor.

If you can learn how to use a debugger and produce a stack trace on crashes, your quality of life will go up tremendously.

DarkDragon
10-20-2017, 11:08 AM
You're all stupid.


That is all. Have a nice day. :)

It has its pros and cons. Many places OOP is tremendously useful. I don't think anyone can credibly claim that raw pointers and arrays are easier to use, or less likely to be buggy, than STL counterparts like std::string, std::vector, or std::map. In my research code, I don't know what I would do without OOP libraries for sparse linear algebra like Eigen.

But of course it's possible to overdo it. I've had to deal with some libraries that are very much overengineered to be the point of being nearly unusable (CGAL https://www.cgal.org/ comes to mind).

Anarchy_Balsac
10-26-2017, 07:02 PM
It has its pros and cons. Many places OOP is tremendously useful. I don't think anyone can credibly claim that raw pointers and arrays are easier to use, or less likely to be buggy, than STL counterparts like std::string, std::vector, or std::map. In my research code, I don't know what I would do without OOP libraries for sparse linear algebra like Eigen.

But of course it's possible to overdo it. I've had to deal with some libraries that are very much overengineered to be the point of being nearly unusable (CGAL https://www.cgal.org/ comes to mind).

It's the difference between DOS and windows. DOS may work "Just Fine", but it sucked compared to windows 98 and before.

jeffythedragonslayer
01-27-2024, 08:19 AM
Start calling the ZScript COP (Combo oriented programming) ;)