Hacker News new | ask | show | jobs
by bobbylarrybobby 2042 days ago
How would JS with semantic whitespace difference from just auto-indenting a JS file?
2 comments

Lamdas and first-class functions might make it pretty ugly, I definitely write `func(arg1, arg2, (res) => console.log(res))` from time to time
It would look nicer.
Semantic whitespace looks nicer than non-semantic whitespace?
No curly braces looks nicer than curly braces.
And that’s just a fact.