
At 2002-12-05 15:34, Andrew J Bromage wrote:
Wether spaces or tabs are better in source files is a matter of taste and a language should not force me to use one or another.
The language does not force you to do anything of the sort. It's your editor's fault if it can't decouple the concept of hitting the tab key from the concept of putting a ^I character in your file.
Haven't we all been through this argument several months ago? I believe the conclusion was "people have different preferences, and Haskell allows for that". Certainly when I write my own Haskell I like to use tabs, real ones, to indent. And I can easily outdent by using the backspace key, once, which will cleanly delete exactly one tab. I'll have no truck with Haskell's "layout" and its picky interpretations of whitespace. Luckily for people like me there's braces and semicolons, which let you ignore this layout nonsense entirely. YMMV, of course. -- Ashley Yakeley, Seattle WA

G'day all. On Thu, Dec 05, 2002 at 06:36:22PM -0800, Ashley Yakeley wrote:
Haven't we all been through this argument several months ago? I believe the conclusion was "people have different preferences, and Haskell allows for that".
Sure, but that's a separate issue. My remark was merely in response to the claim that Haskell cares whether you put tabs or spaces in your files. It does not, so long as the tabs are of length 8. If your editor produces tabs of a different size, that's a problem with your editor or the way you dislike Haskell's layout rules. Or, to look at it another way, there are better reasons to dislike Haskell's layout rules than this. Cheers, Andrew Bromage
participants (2)
-
Andrew J Bromage
-
Ashley Yakeley