3 ms·
The comparison is flawed, because Javascript is a subset of Typescript, but C is not a subset of C++. A better analogy would be that C++ is to C what Dart is to
by flohofwoe 5y ago
The comparison is flawed, because Javascript is a subset of Typescript, but C is not a subset of C++. A better analogy would be that C++ is to C what Dart is to Javascript.
- pjmlp 5y agoIt was when C++ came to be, 40 years ago. Don't mix stuff with how things are today.
- loup-vaillant 5y agoAlso, even now, the intersection between the two languages is large enough to be useful. I believe the entire Lua VM has been written in that subset, and so has my cryptographic library. Though you'd have to be careful, it's still possible today to write useful C code that also compiles as C++.
- pjmlp 5y agoIt surely is.