4 ms·
There is a third school: those who consider "Lisp" to refer to, in a historic context, a specific old language that is no longer in use (which was actually call
by kazinator 2y ago
There is a third school: those who consider "Lisp" to refer to, in a historic context, a specific old language that is no longer in use (which was actually called LISP), and in a modern context to a fairly diverse family of languages.
People don't argue whether Javascript is "a C". However, people do argue whether GNU C is C. Some pedants insist that only ISO C is C and that, for instance, GNU extensions like nested functions are not C. (And are off topic in the usenet newsgroup comp.lang.c.)
To me, C++ is a dialect of C. In fact, you can write production code in a language that compiles as either C or C++ and behaves the same way, with similar executable size and performance. When you do that, there are obviously C++ features you cannot use, but also C features you cannot use.
- anthk 2y ago>dialect Not true from long ago. By far, that's statement it's pretty wrong. You will get zillions of bugs and compilation errors in both ways.
- kazinator 2y agoI mean, say, draft C23 and C++20 are still dialects. There is a large subset that is mutually intelligible and useful for production work. C23 is closer to C++ in one small way: () is now a prototyped parameter list, meaning the same as (void). Thus if you want to program in a common C23/C++ dialect, you can drop the (void) kludge now.