
25 Jan
2009
25 Jan
'09
9:22 p.m.
Jon Fairbairn wrote:
Warnings are the wrong answer to this problem. In fact, they're rarely the right answer to any problem. Tabs in sourcecode can have bad effects, and Haskell is a language that attempts to reject bad effects as far as possible. Nor can I see any argument in favour of allowing tabs (if HT is allowed, why not VT?).
Tabs can be convenient for quick scripts and things like that, where you wouldn't use -Wall. And while I keep hearing about the problems with tabs, I have never encountered any with Haskell code. There are other things that are currently warnings that come up much more often and usually have much more severe consequences, such as name shadowing. Twan