Picture trying to read a newspaper broadsheet if there was one column with all the text the width of the page.
The collected wisdom of the centuries is that the optimal column width is about 3 inches (7 cm), left justified, ragged right.
Picture trying to read C++ code if we formatted it as we do newspaper!
for ( int j = 0; j < Rasterizer::
g_width; ++j ) { for ( int y = 0;
y < Tile::g_tile_height; ++y )for
( int x = 0; x < Tile::
g_tile_width; ++x ) { int idx = j
+Rasterizer::g_width; __m128i buf
= rast . m_tiles [ idx ] .
m_frame_buffer[ y ]; unsigned int
mask = ( ( unsigned int * ) ( &
buf ) ) [ x >> 5 ] ; int bit =
mask & ( 1 << ( x & 31 ) ) ;
COLORREF col = bit ? RGB ( 255 ,
255 , 255 ) : 0 ; g_data[ j *
Tile::g_tile_width + 127 - x +
( Tile::g_tile_height + y ) *
g_info . bmiHeader . biWidth ] =
( unsigned ) col ; } }
Not arguing for or against 80-columns here, but reading code is a very different activity to reading a newspaper or a novel, and code itself is a very different kind of content (closer to a mathematical theorem than prose), so conventional wisdom for laying out text is largely irrelevant.
Width only seems so excessive now because our monitors have given us so much of it, but they haven't given us so much that we can comfortably cut it in half
Works for me on my 2048*1152 monitor. Often with a 50/50 split, and sometimes with a 70/30 split if a file contains long lines.
if doing so requires you to lose your focus and take mental effort to interpret what you see (i.e. display big enough that you have to look down, lose your place, and find it again, or two views next to each other that take some practice to see them as a continuation of each other and reconcile the differences in indentation), then you may be better off just being able to seek faster and more efficiently
I used to use a 16:9 monitor rotated 90º to be a tall-screen for writing code, and another in regular landscape mode for playing the game on, because I found that "scrolling by looking" took less mental effort than actually scrolling, and I wouldn't lose my place as much

Speaking of text editors, what the hell is wrong with the forum text editor?
The staff are waiting on a patch from IPB (the forum software), as the last update has caused a lot of issues.