4 ms·
Thanks for posting the original s-expr based, tab bashing article! It has always been my own argument in favour of tabs: - The original argument against tabs
by Shorel 13y ago
Thanks for posting the original s-expr based, tab bashing article!
It has always been my own argument in favour of tabs:
- The original argument against tabs was based on Lisp indentation rules.
- Languages with very complex indentation rules like Lisp should use spaces. There's no exception to this rule.
- Languages from the C family should use Tabs, as Lisp indentation rules don't apply to them.
- Nowadays almost all popular languages can be considered to be part of the C syntax family. Python and Lua are notable exceptions. PHP and Objective C files should use tabs.
- lispm 13y agoNever let get facts in your way. http://trac.common-lisp.net/mit-cadr/browser/trunk/lisp/zwei/indent.lisp http://trac.common-lisp.net/mit-cadr/browser/trunk/lisp/zwei... MIT's Zmacs, the editor of the Lisp Machine indents with tabs.
- Shorel 13y agoGood find, thanks. However, one very old editor using tabs doesn't mean Lisp programmers actually prefer them. It may even be the cause of tabs hate.
- lispm 13y agoIf the editor of the Lisp Machine, which was used by people like Steele, Stallman, Pitman had no problems using tabs, it can't be that Lisp has a technical requirement not to use tabs. Steele wrote a book about C. Stallman wrote a Lisp in C and a C compiler... Basically your arguments are from a strange parallel world.