From f95fd927fbdeee6930d7961ef5e193e10d43d220 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sun, 2 Mar 2014 05:39:29 -0800 Subject: [PATCH] Why are tabs forbidden? --- Unofficial-FAQ.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Unofficial-FAQ.md b/Unofficial-FAQ.md index e3fee67..2af9a6f 100644 --- a/Unofficial-FAQ.md +++ b/Unofficial-FAQ.md @@ -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 \ No newline at end of file +* 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. \ No newline at end of file