Is there a language between C and C++?
Posted
by
Robert Martin
on Programmers
See other posts from Programmers
or by Robert Martin
Published on 2012-04-01T04:00:13Z
Indexed on
2012/04/01
5:37 UTC
Read the original article
Hit count: 371
c++
I really like the simple and transparent nature of C: when I write C code I feel unencumbered by "leaky abstractions" and can almost always make a shrewd guess as to the assembly I'm producing. I also like the simple, familiar syntax for C.
However, C doesn't have these simple, helpful doodads that C++ offers like classes, simplified non-cstring handling, etc. I know that it's all possible to implement in C using jump tables and the like, but that's a bit wordy at times, and not very type-safe for various reasons.
I'm not a fan of the over-emphasis on objects in C++, though, and I'm gun shy of the 'new' operator and the like. C++ seems to have just a few too many hiccups to, for instance, be used as a system programming language.
Does there exist a language that sits between C and C++ on the scale of widgets and doodads?
Disclaimer: I mean this as purely a factual question. I do not intend to anger you because I don't share your view that C{,++} is good enough to do whatever I'm planning.
© Programmers or respective owner