Comment

Comment by nielsbot

Glad they went with NeXT though--Obj-C is a much better framework language than C++.

I honestly think Objective-C is a big part of Apple's OS success.

Edit:

Building system APIs based on message passing provides a lot of flexibility and capability without having to worry about ABI compatibility or object layout. Message passing is good for hiding implementation details.

Obj-C also provides what Swift now calls protocol-oriented programming. Define a protocol and any object no matter its type can implement that protocol and be, say, a delegate for a long running operation. Etc.

This allowed Apple to innovate in their OS, providing increasingly more functionality more rapidly than what seemed to be happening elsewhere.

I think there's even more to this, but I'm tired.

parent nielsbot 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton