Hacker News new | ask | show | jobs
by hexfran 25 days ago
I guess the missing brace is a scope delimiter and easy to notice if missing, while the tab is an indentation marker and much harder to spot, and might get you into an invalid state but still parse correctly, just not doing what it was meant to do
1 comments

Additionally, file segments [0] written with a grammar that uses scope-defining character pairs survive round trips through email, chat, the paste buffers of a series of less-than-maximally-careful coworkers, etc. etc. etc. much, much better than those written with a grammar that uses whitespace to define scope.

<strike>Ask me how I know.</strike>

[0] sections? snippets? fragments? Hopefully you get what I'm trying to say here.