Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

um....react is literally js and its not a language, you can write react with or without jsx which is just syntax sugar to make it look more like html.


“syntax sugar” means its a new language. It has a new syntax.


This is the first time I've seen someone argue that adding syntactic sugar means creating a new language.


it really depends on how much syntactic sugar you add.

You could go back 13 years, show somebody some JSX and ask them what language they think it is and nobody would be well that's obviously JavaScript with a bit of sugar on top.


Sure, if I'd been replying to a comment that had anything resembling nuance, that would be applicable.

It did not.


So Python with type definitions (syntax sugar) is a new language?


They should call it Typhon




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: