On Mon, Oct 29, 2012 at 5:29 PM, Iustin Pop <iustin@google.com> wrote:
On Mon, Oct 29, 2012 at 05:20:20PM +0530, Rustom Mody wrote:
There was a recent discussion on the python list regarding maximum line length. 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 http://blog.languager.org/2012/10/layout-imperative-in-functional.html.
Are there more striking examples than the lexer from the standard prelude? [Or any other thoughts/opinions :-) ]
For what is worth, in our project (Ganeti) which has a mixed Python/Haskell codebase, we're using the same maximum length (80-but-really-79) in both languages, without any (real) issues.
regards, iustin
Sure! There can hardly be a case that 80 causes any issues. Just that a bit more than 80 can sometimes lead to distinctly more elegant programs. Too much more than 80 can cause issues with readability and/or other tools.