[erlang-questions] Controversial subject of the day: tabs and spaces for indentation

Bengt Kleberg bengt.kleberg@REDACTED
Thu Feb 6 10:40:24 CET 2014


Greetings,

These are my opinions, not facts.

So Erlang is sensitive to indention to the point of causing bugs. I did
not know that.


bengt

On Thu, 2014-02-06 at 10:31 +0100, Lukas Larsson wrote:
> On Thu, Feb 6, 2014 at 9:38 AM, Loïc Hoguin <essen@REDACTED>
> wrote:
>         
>         Plus this doesn't help your code get merged at all. If you
>         submit code with broken whitespace, then tools will also
>         display this whitespace change. You can of course hide
>         whitespace changes, but the problem is that whitespace does
>         matter in some places, so you're basically hiding potentially
>         important information by doing that.
>         
> This is in my opinion the reason why it would be a very bad thing to
> do a huge commit that changes the current whitespace format of a
> project to another. It is already very hard to figure out what change
> could have caused a bug without having to deal with whitespace changes
> in the middle of a diff. 




More information about the erlang-questions mailing list