Re:React Won by Default – and It's Killing Front End Innovation
by lerp-io on Tuesday September 16, 2025 @04:43AM
(#45259690)
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.
[ Parent
| on HN ]
Re:React Won by Default – and It's Killing Front End Innovation
by burnerzzzzz on Tuesday September 16, 2025 @05:31AM
(#45260025)
“syntax sugar” means its a new language. It has a new syntax.
Re:React Won by Default – and It's Killing Front End Innovation
by rkomorn on Tuesday September 16, 2025 @05:33AM
(#45260039)
This is the first time I've seen someone argue that adding syntactic sugar means creating a new language.
Re:React Won by Default – and It's Killing Front End Innovation
by bryanrasmussen on Tuesday September 16, 2025 @06:21AM
(#45260358)
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.
Re:React Won by Default – and It's Killing Front End Innovation
by rkomorn on Tuesday September 16, 2025 @06:57AM
(#45260580)
Sure, if I'd been replying to a comment that had anything resembling nuance, that would be applicable.
It did not.
Re:React Won by Default – and It's Killing Front End Innovation
by theshrike79 on Tuesday September 16, 2025 @06:33AM
(#45260428)
So Python with type definitions (syntax sugar) is a new language?
Re:React Won by Default – and It's Killing Front End Innovation
by TrnsltLife on Tuesday September 16, 2025 @04:50PM
(#45267854)
They should call it Typhon