Why are tabs forbidden?
This commit is contained in:
parent
d2c7f5b1d2
commit
f95fd927fb
|
@ -38,4 +38,10 @@ You can find examples in the [examples/](https://github.com/Araq/Nimrod/tree/mas
|
||||||
# Why are unsigned types discouraged?
|
# Why are unsigned types discouraged?
|
||||||
|
|
||||||
* 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