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

Unlearning Object-Orientation

Name: Anonymous 2011-11-21 9:22

Does anyone have any good resources on unlearning object-oriented design and programming?

I'm trying to build a software system and my mind keeps thinking in terms of polymorphic classes and virtual methods, and I can see how just writing a few simple procedural modules for each concrete implementation of the system would probably end up with far less code and more performance, but I'm having a hard time moving forward with anything.

Object-orientation has paralyzed my analysis skills and I need something to get me out of this rut.

Name: Anonymous 2011-11-21 16:32

ENTERPRISE PROGRAMMERS would have you belive that OO is what it's all about. It sure has brought upon us the curse of inheritance, which leads to rigid, horrible class hierarchies that doesn't help in the least.

But OO does use some good things: modularity, composition, interface/implementation, instansiation and procedures with a local variable environment.

But guess what? You don't need classes for any of that. Modularity has been fundamental since at least the criteria paper. A module interface is just a set of functions. You don't need language support to define which ones a module exposes publicly. If you have a plug-in module you could always pass it a virtual table and pass along the necessary state. But all linkage and environment issues goes away with a language that has first class procedures.

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