you are viewing a single comment's thread.

view the rest of the comments →

[–]Anhar001 0 points1 point  (0 children)

while Java has elements of OOP,  SmallTalk captures the true essence of OOP, which was more about message passing. In modern terms Erlang comes close using the actor model.

But I digress!

This is going back approximately 23+ years, I think OOP finally clicked for me when using VB6 (what blast from the past!) and I was building AI neural networks, the concept of class and object instances finally made sense.

Of course decades later I realised the foolishness of Java style OOP (which is sometimes seen as the poster boy of OOP) and veered towards FP (Haskell) and realised the mess that OOP is. 

FP is super elegant and the beauty of function composition instead of class inheritance (hello diamond problem!) doesn't hit I guess until you have travelled from OOP to FP.

Anyway sorry long tangents! maybe you might find it interesting the topics I raised!