2 ms·
> What are the advantages of white-space insensitive code for refactoring and formatting? For refactoring, it's less error prone when you're using an editor wi
by masklinn 6y ago
> What are the advantages of white-space insensitive code for refactoring and formatting?
For refactoring, it's less error prone when you're using an editor without refactoring support for it, would be my guess.
For indent/format, your guess is as good as mine, AFAIK programs don't care whether block separators are called INDENT or {. Though the parsing of the latter would be somewhat trivially simpler as you don't need to store a stack of indent levels.