Skip to content

Comment on JavaScript once had a JSX-like syntax called E4X

Comments

I wonder what made JSX seem like a good idea then.

The post explains a bunch of things that JSX does better. A heck of a lot of successful ideas look just like something that was tried before but without the one restriction that made that thing fail.

Anyone that uses it ought to be able to explain that. I was sceptical when I first saw it but it really is very useful.

Don't know why this got downvoted. If a standard feature of JavaScript got no love because "XML sucks", then later becomes popular as part of a proprietary lib, this very much questions rationality and taste in JavaScript evolution.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.