4 ms·
> Here's the reasoning: https://github.com/Araq/Nim/wiki/Whitespace-FAQ#tabs-vs-spac.. https://github.com/Araq/Nim/wiki/Whitespace-FAQ#tabs-vs-spac.... Honestl
by CyberShadow 12y ago
> Here's the reasoning: https://github.com/Araq/Nim/wiki/Whitespace-FAQ#tabs-vs-spac.. https://github.com/Araq/Nim/wiki/Whitespace-FAQ#tabs-vs-spac....
Honestly, there are less drastic solutions to these problems. Some languages (forgot which) simply forbid mixing tabs and spaces when the tab size makes the code ambiguous. And their C example will generate an "ambiguous else" warning in D, which you can disambiguate by adding braces.