Why are tabs forbidden?

This commit is contained in:
Dominik Picheta 2014-03-02 05:39:29 -08:00
parent d2c7f5b1d2
commit f95fd927fb
1 changed files with 7 additions and 1 deletions

View File

@ -38,4 +38,10 @@ You can find examples in the [examples/](https://github.com/Araq/Nimrod/tree/mas
# Why are unsigned types discouraged?
* http://critical.eschertech.com/2010/04/07/danger-unsigned-types-used-here/
* http://forum.nimrod-lang.org/t/313#1631
* http://forum.nimrod-lang.org/t/313#1631
# Why are tabs forbidden?
Tabs are treated differently by different tools and editors. Because indentation is so important in Nimrod it is much simpler to outright forbid tabs in source code than to risk the mixing of tabs and spaces. Guido van Rossum of Python himself has said that if he were to design Python again he would forbid tabs.
Nimrod is certainly not unique in forbidding tabs. [YAML](http://www.yaml.org/faq.html) does the same.