3 ms·
> "an object-oriented C" ... minimalism That's Objective-C in a nutshell. Or was, anyway. The most minimal way to have useful OO on C. Of course, you could
by mpweiher 9y ago
> "an object-oriented C" ... minimalism
That's Objective-C in a nutshell. Or was, anyway. The most minimal way to have useful OO on C.
Of course, you could make it even simpler if you drop the "must be a superset of C"-requirement.
- penpapersw 9y agoThus Swift.
- mpweiher 9y agoCough. Well, except the the "simple" part...
- penpapersw 9y agoYeah not saying Swift is simple. But its goal was originally (and may still be) to be Objective-C without the C.
- mpweiher 9y agoNope. That was always an empty marketing slogan. Objective-C is Smalltalk added to C. Objective-C without the C is Smalltalk. Which is, coincidentally, a very simple language.
- euyyn 9y agoMaybe the most minimal, but not the most efficient, and C's minimalism is only useful because it lets you be as efficient as the hardware will be. Without that goal, the Lisps are more minimal than both C and Objective-C.
- throwawayfoo 9y agoFew people can make sense out of Lisp and fewer actually like it.
- jhbadger 9y agoI have a fondness for ObjC because I was a Smalltalk programmer once upon a time (it's also probably why I like Ruby), but you could imagine a simpler object system on par with Object Pascal. I'm actually kind of surprised that nobody tried that but maybe with ObjC and C++ fighting it out people assumed yet another object-oriented dialect would go nowhere.