[Haskell-cafe] Optimal line length for haskell

Iustin Pop iustin at google.com
Mon Oct 29 16:57:43 CET 2012


On Mon, Oct 29, 2012 at 03:50:57PM +0000, Niklas Hambüchen wrote:
> I would prefer to completely ignore line lengths when writing Haskell.
> 
> In general, giving good names to things in where-clauses automatically
> keeps my code "short enough".
> 
> My opinion is that different people like different code layouts, and
> when formatting code in certain ways, we will always have to make
> compromises.
> 
> I would like if there was a layout normal form for storing Haskell code
> - all code presented to humans should be shown just as that human likes
> it best.
> 
> In the future, I would like to work on a personalizable real-time
> formatter that editors can hook into, using haskell-src-exts.

+1 to that; I know that it would indeed increase my productivity…

iustin



More information about the Haskell-Cafe mailing list