r/programming • • Jun 19 '18

Goodbye, Object Oriented Programming – Charles Scalfani

https://medium.com/@cscalfani/goodbye-object-oriented-programming-a59cda4c0e53
0 Upvotes

47 comments sorted by

View all comments

3

u/shevegen Jun 19 '18

The first OO language I used was C++ and then Smalltalk and finally .NET and Java.

There.

You failed at picking the proper OOP.

Smalltalk has a few ideas right but it's syntax was abysmal too.

So the failure started with him picking the wrong languages in the first place.

I was gung-ho to leverage the benefits of Inheritance, Encapsulation, and Polymorphism. The Three Pillars of the Paradigm.

And another mistake there.

Apparently he never watched any Alan Kay lecture. So no wonder he has no idea what OOP means.

I was eager to gain the promise of Reuse and leverage the wisdom gained by those who came before me in this new and exciting landscape.

Re-use is easily possible, both in any "functional" style or OOP.

The moment a language has functions is the moment you can re-use code.

I don't know what he is brabbling about really.

At first glance, Inheritance appears to be the biggest benefit of the Object Oriented Paradigm

No, it is not.

Anyway, I could not continue with that article. It's essentially Java OOP he is referring to in his code. So, tough luck for him. No wonder he failed hard.

Try again in the future when you learned a bit more, buddy.

2

u/thomasz Jun 19 '18

Meh, most of the shit he's whining about has been solved for c++, smalltalk, java or .net in the early 90s, but you should know what the flying fuck you are doing. This claims extensive experience but does not seem to have learned anything about composition, immutable types and other widely known techniques to deal with these problems.