Why are tabs forbidden?
This commit is contained in:
parent
d2c7f5b1d2
commit
f95fd927fb
|
@ -39,3 +39,9 @@ You can find examples in the [examples/](https://github.com/Araq/Nimrod/tree/mas
|
||||||
|
|
||||||
* http://critical.eschertech.com/2010/04/07/danger-unsigned-types-used-here/
|
* 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.
|
Loading…
Reference in New Issue