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

Benoit Chesneau <>
Thu Feb 6 10:34:13 CET 2014

On Thu, Feb 6, 2014 at 10:31 AM, Lukas Larsson <> wrote:

> On Thu, Feb 6, 2014 at 9:38 AM, Loïc Hoguin <> 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.

well then commit a whitespace change diff, then the change you really
wanted to make. It of course requires to have a standard defined at first :)

- benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140206/32ef381f/attachment.html>

More information about the erlang-questions mailing list