logoalt Hacker News

MaxBarracloughyesterday at 8:14 PM2 repliesview on HN

> That is, after all, what sets "object-oriented" apart from having objects alone.

I wouldn't say so, most object-oriented languages don't work like Objective-C/Smalltalk. Today, I think most programmers would agree that inheritance is the defining feature of object-orientation.


Replies

9rxyesterday at 8:56 PM

Okay, that's what sets what was classically known as "object-oriented" apart.

Understandably, language evolves. If OO means something different today, what do most programmers call what used to be known as OO? I honestly have never heard anyone use anything else. But I am always up for refreshing my lexicon. What did most programmers settle on for this in order to free up OO for other uses?

Apocryphonyesterday at 9:30 PM

Then what does it mean if "composition over inheritance" is also taught as a good practice in OO?

show 1 reply