News for hackers. Stuff that matters.
Re:Why Arc Isn't Especially Object-Oriented (2002) by pdimitar on Sunday October 21, 2018 @11:19AM (#18268434)
> But still they would consider themselves to be too smart to need OOP.

Please note that I fully agree with this part; I've met such programmers and then actively avoided them.

But there's always the other side of the coin. You can reinvent your own mini-OOP for a specific scenario you need (recent example: utilize different data parsers depending on a HTTP response header and a top-level XML attribute in the response). And you can make sure you don't suffer from some of the OOP's undeniable problems -- like "brittle superclass".

Ever since I worked with Elixir I had to do something like the above 5 times in total and was VERY happy with my own half-arsed OOP implementation because it allowed me to keep a strict control of things while still giving me the flexibility I wanted for the particular task at hand.

There are no comments on this comment yet.