3 ms·
How would JS with semantic whitespace difference from just auto-indenting a JS file?
by bobbylarrybobby 6y ago
How would JS with semantic whitespace difference from just auto-indenting a JS file?
- andybak 6y agoIt would look nicer.
- OJFord 6y agoSemantic whitespace looks nicer than non-semantic whitespace?
- andybak 6y agoNo curly braces looks nicer than curly braces.
- pindab0ter 6y agoAnd that’s just a fact.
- strombofulous 6y agoLamdas and first-class functions might make it pretty ugly, I definitely write `func(arg1, arg2, (res) => console.log(res))` from time to time