logoalt Hacker News

mpyneyesterday at 2:35 PM1 replyview on HN

Typescript is an even better example. And there are some domain-specific languages that aren't meant to become popular general-purpose languages, but succeed in their niche through the help of transpilation to a general-purpose language.


Replies

win311fwgyesterday at 5:45 PM

Typescript isn't nearly as popular as C++ and, aside from a couple of legacy features that don't seem to be commonly used, it can be erased without needing transpilation. What makes it a better example?