Am Dienstag, den 13.03.2012, 22:48 +0100 schrieb Bernd Blaauw:
Op 11-3-2012 16:51, Carl-Daniel Hailfinger schreef:
we're hitting the 80 column limit in our code
in ways which actually
reduce readability for the code. Examples are various multiline messages
and complicated nested code where refactoring to a separate function
doesn't make sense.
Coming from DOS as as experimentation platform, I guess
sensible way to take in a per-platform (or 'dos' versus 'non-dos')
approach to output messages. Too much if/else, though Stefan's technical
approach/algorythm sounds viable in some kind of odd way.
It seems you maybe missed the point of our discussion. We were not
discussing the number of columns of the messages we print on the screen,
but the number of columns in the source code. Output messages are still
formatted to fit into 80 characters (which is not only the default width
of DOS text mode, the Windows DOS box or the linux console, but also the
default width of most Linux "terminal emulators" (which are in Linux
graphical user interface what DOS/console boxes are in Windows).