[Haskell-cafe] Optimal line length for haskell

Rustom Mody rustompmody at gmail.com
Mon Oct 29 14:25:00 CET 2012

On Mon, Oct 29, 2012 at 5:55 PM, Colin Adams <colinpauladams at gmail.com>wrote:

> 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
> written.)
> And I balance line length with function length.

Very good point: getting the line to fit in one screen-line is of
comparable importance to getting a function into one screen.

And especially when one is teaching, (as Roman easily figured out!) having
to scroll up and down in the midst of explanations is a certain

On Mon, Oct 29, 2012 at 6:40 PM, Mike Meyer <mwm at mired.org> wrote:

> On the other hand, readable cross-platform text formatting always seems to
> be a lost cause, as this mail and the referenced blog posting demonstrate.
> --
> Sent from my Android tablet with K-9 Mail. Please excuse my swyping.

As for the wraparound problems, hopefully they are now solved (for normal
I'd appreciate hearing if they are not.
And Thanks Colin for the debugging support!

Clearly prettifying code and prettifying a blog are different issues and
putting them together makes a harder constraint-solving problem (especially
for a blogger noob!)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121029/ca99402f/attachment.htm>

More information about the Haskell-Cafe mailing list