[erlang-questions] Controversial subject of the day: tabs and spaces for indentation
Fri Feb 7 07:48:43 CET 2014
I think you have a correct thread summary here below.
Perhaps the thing that Lukas mentioned, ie that any formatter must be good enough top not introduce bugs, should also be added?
And maybe Rickards (later) email about the need to set tabs to the right amount of spaces, when it is configurable, if you need to use programs that have the tab width hard coded?
From: Garrett Smith 
Sent: Thursday, 06 February 2014 5:02 PM
To: Bengt Kleberg
Subject: Re: [erlang-questions] Controversial subject of the day: tabs and spaces for indentation
This has been a very productive thread. If I may try to summarize, for
- Mixed tabs and spaces present challenges for programmer using
different editors and contributing to projects with varied or poorly
defined white space standards
- There are a number of possible solutions to this problem, many of
which have been mentioned here
- The cost of discussing this problem is so much higher than cost of
actually dealing with it - even in cases where a programmer has to
manually copy and past formatted lines to preserve a source file's
dark, twisted and immortal formatting - it's *still much easier* than
talking about how to fix the underlying problem
I feel a certain liberation knowing this.
These are my opinions, which are facts.
On Thu, Feb 6, 2014 at 7:59 AM, Bengt Kleberg
> If you are driven insane when I write that my opinions are my opinions, and you are sufficiently angered to write me about it when I do not make such a claim, I do not see how I can make you happy.
> I will go back to how I used to do it before.
> Sorry to say I do not understand how your statement "indention in Erlang is not fixed" rules out using tabs for indention. Can tabs only be used when indention is fixed? Fixed to what?
> From: Anthony Ramine 
> Sent: Thursday, 06 February 2014 1:47 PM
> To: Bengt Kleberg
> Cc: erlang-questions
> Subject: Re: [erlang-questions] Controversial subject of the day: tabs and spaces for indentation
> We can't use tabs for indentation in Erlang because indentation in Erlang is not fixed.
> I'm now out of this debate because this constant << These are my opinions, not facts. >> is driving me insane.
> Anthony Ramine
> Le 6 févr. 2014 à 13:43, Bengt Kleberg <> a écrit :
>> These are my opinions, not facts.
>> It is strange that you hate tabs when it is the tools that are doing it
>> wrong. Please try to not kill the messenger...
>> On Thu, 2014-02-06 at 13:29 +0100, Anthony Ramine wrote:
>>> I hate tabs because tools without settings, and default settings of most historical tools, render tabs with 8 spaces. Thus this is the de facto standard.
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions