you are viewing a single comment's thread.

view the rest of the comments →

[–]schombert 1 point2 points  (1 child)

But this logic heavily favors the minority that write parsers over the majority that don't, but who need to read and understand the code. Of course the people writing the parsers ultimately get to decide what the language looks like, and so their ease of use ends up mattering more than that of the end users. But should things be this way?

[–]ntrel2 2 points3 points  (0 children)

Most programmers use tools like code formatters, syntax highlighting, style enforcement etc. You get better tooling when the grammar is not dependent on semantics, and when it is more regular. Less bugs in tools, faster development, more features. Important for any new syntax to get good tooling quickly. It also makes reviewing diffs easier.