80 is arguably better than 100, in that it meshes better with
printing software, etc. I could also point out a number of
software projects that specify 80 characters as the limit.
That said, I'm OK with loosening it up to 100 characters, if
that makes folks more comfortable. Anything over that starts
to force folks into line wrapping or horizontal scrolling on
all but the widest screens.
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume r...@cfcl.com
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
Actually, it dates from IBM's 80 column punch card format:
http://en.wikipedia.org/wiki/Punch_card
Many early terminals emulated this line length, for obvious
reasons. Typesetters commonly prefer lines with even fewer
characters, because they are easier to read.
Well, it's still emulated - it's the default width of every terminal
client today (including Terminal.app) and hence the default width in
Vim (even gVim under Linux/Win). I prefer to limit my line length to
80 so that no lines were auto-wrapped which screws up the line
navigation in the editor.
That said, I don't use Vim that much anymore but for compliance
reasons have set the margin in TextMate to 79 characters (80th one
shouldn't actually be used :)). So I like the 80 chars limit, but
won't insist on it.
--
Damir Zekić
http://twitter.com/sidonath
At 00:00 -0800 12/10/08, Dale Campbell wrote:
> Correct me if I'm wrong, but I believe the 80 character limit
> is a relic of older terminals and lower resolution monitors ...
Actually, it dates from IBM's 80 column punch card format:
http://en.wikipedia.org/wiki/Punch_card
Many early terminals emulated this line length, for obvious
reasons. Typesetters commonly prefer lines with even fewer
characters, because they are easier to read.
As a monolingual (more or less) person, I don't have much expertise
here. I won't let that stop me, but please correct me if I get
anything wrong. :-)
Most written languages have words, phrases, sentences and paragraphs.
The correspondence between documents in multiple languages will tend
to increase in that order. That is, word-based correspondence is
likely to be fairly rare, and even phrase-based correspondence may
not exist, but corresponding sentences and paragraphs should be easy
to find (and compare) in most cases.
So, expecting lines to break at a corresponding word doesn't make
much sense. However, breaking lines at sentence boundaries still
makes sense. Also, it shouldn't be too hard to break most sentences
at phrase boundaries, to make the internal structure clear.
I don't think there will be much diffing of corresponding files,
because the diff code would have no way to figure out which lines
(etc) match up. If we wanted to make this possible, we could add
"positional markup" to help in matching up corresponding material.
The current software passes HTML comments on to the output, but
(curiously) ignores anything _after_ an HTML comment in the same
line. So, these both disappear when the book is formatted, but
only the HTML comment shows up in the "View Source":
<!-- This passes into HTML --> This disappears.
I wouldn't be in favor of adding this sort of markup unless it
has a strong purpose, however, as it would make the source code
significantly harder to read and edit...
I agree completely.
--
Carlo Pecchia
email: c.pe...@gmail.com
Indeed. And by starting each sentence on a new line, we allow
Git to show Matt (and other editors) which sentences they need
to consider. If Matt has to wade through an entire paragraph
and try to spot the changed parts, he will take longer and may
miss problems.