Hacker News new | ask | show | jobs
by MR4D 961 days ago
Wasn’t C++ the typescript for C ?

The title strikes me as ironic that it’s talking about a typescript on top of a typescript.

4 comments

Yep. I don't believe it's mentioned in the linked article, but Herb has mentioned in other articles/talks that cppfront is intentionally named after / following the same model as C++, which originally had a C++ to C transpiler named cfront[0].

[0]: https://en.wikipedia.org/wiki/Cfront

Maybe every couple decades you just need a new typescript on top of the previous typescript.
It's ~~turtles~~ typescripts all the way down.
C++ adds class and other features to C++, and this is like TypeScript to Javascript, but what he supports is simplicity and safety thank to a TypeScript approach. Not what C++ brings to C !
Precisely. He mentions that in the full talk in the video