Prev: SPARK syntax and “use type” : lack of feature ?
Next: Looking For Simple Routine To Put Integer Into Float
From: Peter C. Chapin on 26 May 2010 08:42 Adam Beneschan wrote: > I'll also think about your suggestion to allow myself a wider screen. > I think my reluctance has been a throwback to the old days when a lot > of printouts were only allowed 80 columns, which is itself a throwback > to the number of characters on a Hollerith card. Here it's 2010 and > my life still revolves around Hollerith cards. Sigh....... I hear you. I recently (as in the last couple of years) upgraded my personal style guide to allow 96 character long lines. Note that 96 = 64 + 32 so it's kind of a round number. I choose that value because it makes formatting source code easier (less "unnecessary" wrapping) and because one can still print 96 character long lines in a reasonable font on 8.5 x 11 inch paper without truncation. I don't print my code very often but once in a while I do for special purposes and it's nice to know that it's going to look okay in that case. That said, with Ada I'm seriously considering extending my allowed lines to 128 characters. Between long, fully spelled out names and avoidance of 'use' statements Ada source lines can get pretty long! Peter
From: Jeffrey R. Carter on 26 May 2010 10:26 Peter C. Chapin wrote: > > That said, with Ada I'm seriously considering extending my allowed lines to > 128 characters. Between long, fully spelled out names and avoidance of 'use' > statements Ada source lines can get pretty long! I have long used 130-character lines. That prints legibly in landscape mode. -- Jeff Carter "Mr. President, we must not allow a mine-shaft gap!" Dr. Strangelove 33
From: Adam Beneschan on 26 May 2010 11:17 On May 26, 12:35 am, Stephen Leake <stephen_le...(a)stephe-leake.org> wrote: > > I'll also think about your suggestion to allow myself a wider screen. > > I think my reluctance has been a throwback to the old days when a lot > > of printouts > > "printout"? what's a "printout"? :). Save a tree, and the fossil fuel > needed to transport it, and/or the harsh chemicals used to recycle it. > Electrons are recyclable; most other stuff really isn't. Tried that. My problem was that I found out that if I tried to mark a line of source with a highlighter, the highlighting didn't move when I scrolled the text. Plus it was kind of nasty trying to clean the ink off my monitor screen. :) :) :) Just kidding. (Insert old joke with punchline "there's whiteout all over your screen" here.) But while I think some people are able to cope without printouts, others sometimes need to have that piece of paper to look at. Don't ask me why. -- Adam
From: Jeffrey R. Carter on 26 May 2010 11:42 Adam Beneschan wrote: > > Just kidding. (Insert old joke with punchline "there's whiteout all > over your screen" here.) But while I think some people are able to > cope without printouts, others sometimes need to have that piece of > paper to look at. Don't ask me why. I recall a study that determined that people found more errors in code when examining it on paper than on screen. -- Jeff Carter "Mr. President, we must not allow a mine-shaft gap!" Dr. Strangelove 33
From: Simon Wright on 26 May 2010 17:24 "Jeffrey R. Carter" <spam.jrcarter.not(a)spam.acm.org> writes: > Peter C. Chapin wrote: >> >> That said, with Ada I'm seriously considering extending my allowed lines to >> 128 characters. Between long, fully spelled out names and avoidance of 'use' >> statements Ada source lines can get pretty long! > > I have long used 130-character lines. That prints legibly in landscape mode. Lineprinters had 132 columns as I remember.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: SPARK syntax and “use type” : lack of feature ? Next: Looking For Simple Routine To Put Integer Into Float |