[Haskell-cafe] Optimal line length for haskell

Colin Adams colinpauladams at gmail.com
Mon Oct 29 13:25:28 CET 2012

I'm not viewing on a narrow device, and I see the wrapped (and the whole
post confined to the centre of the screen).

I certainly don't use an 80-column limit any more. I use the rule:

A function must be completely visible in my editor on my screen. (but this
is only a good rule if most people who will be reading the code will also
have a similar sized viewport. After all, code is far more often read than

And I balance line length with function length.

On 29 October 2012 12:18, Rustom Mody <rustompmody at gmail.com> wrote:

> On Mon, Oct 29, 2012 at 5:40 PM, Malcolm Wallace <malcolm.wallace at me.com>wrote:
>> It is kind of ironic that the wide code examples in the blog post are
>> wrapped at 65 chars by the blog formatting.
>> Regards,
>>     Malcolm
> Well that goes to underscore a couple of points:
> 1. The fixed 80 char width that was inviolable decades ago breaks today on
> both sides: it may be too low or too high!
> 2. I guess I dont know how to use blogger very well :-)
> 3. Are you viewing on a narrow device?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121029/bff63af7/attachment.htm>

More information about the Haskell-Cafe mailing list