[erlang-questions] Style wars: junk comments

Björn-Egil Dahlberg <>
Wed Sep 12 19:11:56 CEST 2012


12 sep 2012 kl. 16:14 skrev Robert Virding
<>:

> Computers speak ASCII and lines are 80 chars long, that's just the way it is.

The only good thing about a 80 char limit is that it forces developers
to structure their code in more functions. That increases readability
imho.

Not a big fan otherwise. I think I have suppressed memories of a
fortran compiler hurling fatal errors at me for using more than 80
chars some time in the past. Horrible experience.

// Björn-Egil

>
> Robert
>
> ----- Original Message -----
>> From: "Niclas Eklund" <>
>> To: 
>> Sent: Wednesday, 12 September, 2012 10:45:59 AM
>> Subject: Re: [erlang-questions] Style wars: junk comments
>>
>> On 09/12/2012 10:33 AM, Ivan Uemlianin wrote:
>>> I agree.
>>>
>>> The emacs gen_server skeleton has things like:
>>>
>>> %%%===================================================================
>>> %%% Internal functions
>>> %%%===================================================================
>>>
>>> (note 70 chars wide)
>>>
>>> It's as if they're section headings at the top of a page in a book.
>>>
>>
>> Would you prefer 80 chars? Must the IBM punch card still haunt us?!
>> ;-)
>>
>> http://programmers.stackexchange.com/questions/148677/why-is-80-characters-the-standard-limit-for-code-width
>>
>> /Nick
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list