Hacker News new | ask | show | jobs
by balamatom 279 days ago
>You still get JSX

Give me S-expressions instead. How else am I supposed to prove to frontend developers that I didn't make those up

2 comments

The frontend would be so much better if Eich had shipped scheme.

ES6 wouldn’t have been needed. CSS-in-JS would have become standard decades ago. HTML would have almost disappeared too because parsing s-expressions would have been native. JSON would never been invented either due to S-expr.

In short, everything about the modern web would have appeared decades sooner and been more consistent.

S-expressions is basically the much better version, that doesn't need a special interpreter/parser and doesn't reinvent the wheel.
Natural language has parentheses. Math notation has those and different kinds of brackets, too. But tell me, what language has closing tags? A language for parrots?

Only half joking, it's same principle as how indentation-based Python ate world, while languages with `begin` and `end` keywords like Ruby and Pascal are hardly to be seen these days