[Haskell-cafe] Optimal line length for haskell
maydwell at gmail.com
Mon Oct 29 15:16:53 CET 2012
If I find my line is longer than 80 characters, I just shorten my
function and variable names!
It's perfectly idio(ma)tic!
On Mon, Oct 29, 2012 at 9:52 PM, Michael Orlitzky <michael at orlitzky.com> wrote:
> On 10/29/2012 07:50 AM, Rustom Mody wrote:
>> There was a recent discussion on the python list regarding maximum line
>> It occured to me that beautiful haskell programs tend to be plump (ie
>> have long lines) compared to other languages whose programs are 'skinnier'.
>> My thoughts on this are at
>> Are there more striking examples than the lexer from the standard prelude?
>> [Or any other thoughts/opinions :-) ]
> In any language, a line longer than 80 characters usually (but not
> always) suggests that you might want to stop and rethink your design. In
> many cases a refactoring or two will greatly simplify the code and
> reduce your line length as a result.
> I think the lexer is an example of refactoring-needed rather than
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe