So, given that, perhaps 80 characters isn't so tyrannical...
class A
{
A::a()
{
if (expr) {
do1();
} else {
do2();
}
}
}And, believe me or not my space-loving friends, tab-indented codebases still exist.
Code is different in several ways. Firstly, code is generally shown in monospace typeface. Secondly, breaking lines too early can be even worse for code than for prose. Thirdly, even with a long line limit, code will generally have lots of short lines anyway, and this helps the eye find the next line when reading. The long lines (as long as they aren't all long) stick out from the rest of the code text, making it easier to read.
Second, we code very differently then we used to - several layers of indentation are common now but were not when the limit was seen as reasonable.