[GHC] #11082: Tweak workflow around overlong lines

GHC ghc-devs at haskell.org
Fri Nov 13 17:55:35 UTC 2015


#11082: Tweak workflow around overlong lines
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by diatchki):

 I'd also vote for formatting that fits in 80 characters. I typically work
 with two editors open next to each other: usually one for editing code,
 and one for browsing code, and it is really nice not to have to constantly
 scroll or switch between windows.

 I follow the 80 character limit on all projects I work with, and I find
 that it is not very hard to format code to fit in the window, even when
 there are long name.  To do that I either use more but shorter lines, or I
 name large sub-expressions.  I think both of those contribute to the
 readability of the code.  Of course, that's quite subjective.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11082#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list