Y
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
strombofulous
2042 days ago
Lamdas and first-class functions might make it pretty ugly, I definitely write `func(arg1, arg2, (res) => console.log(res))` from time to time
link
andybak
2042 days ago
It would look nicer.
link
OJFord
2042 days ago
Semantic whitespace looks nicer than non-semantic whitespace?
link
andybak
2042 days ago
No curly braces looks nicer than curly braces.
link
pindab0ter
2042 days ago
And that’s just a fact.
link