Interview with Ken Thompson (2011)
drdobbs.com
drdobbs.com
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.
Objective-C is Smalltalk added to C. Objective-C without the C is Smalltalk. Which is, coincidentally, a very simple language.
Really? Perfect? Why then are there entire books filled with "C gotchas" or "C traps and pitfalls"?
The language is an inconsistent, inelegant, error-prone mess that has left us with decades of serious bugs and security vulnerabilities. Yet Thompson describes it as "perfect". Sounds like he's been letting all the prizes he got get to his head.
Sure. The language was very influential, and much of the software we use every day was and still is written in it. That doesn't make it perfect, just popular -- often for legacy reasons, not because it's "perfect for writing systems".
Or to use a more modern example, UNIX was the browser and C was JavaScript.
I read it more as "purpose built", and therefore, better than anything else that was available to him.
I'm not sure if it makes the case for elegance or if I'm misunderstanding it.