Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

coding rules of thumb vs. monitor size

Bill Dog (726542) writes | about 5 months ago

User Journal 5

I was perusing the comments under the article about a new ultra-wide 3440 x1440 monitor, and this comment sparked a side thought:

[...] I'd consider taking one of these displays and turning it 90 degrees so I can see more of my code at once without scrolling.

This made me think, as monitors have gotten bigger, maybe a certain couple of old programming rules of thumb need to be restated, in terms of something else that is:

I was perusing the comments under the article about a new ultra-wide 3440 x1440 monitor, and this comment sparked a side thought:

[...] I'd consider taking one of these displays and turning it 90 degrees so I can see more of my code at once without scrolling.

This made me think, as monitors have gotten bigger, maybe a certain couple of old programming rules of thumb need to be restated, in terms of something else that is:

1) Wrap your lines of code at 80 columns, and

2) A function generally should not be more than a screenful in length.

Sorry! There are no comments related to the filter you selected.

Turn (1)

chill (34294) | about 5 months ago | (#47086675)

If I have to turn my head to see more, then I want a break of some sort. When working on something that really needs focus, I prefer to be able to read by just moving my eyes and keeping my head still.

At work, I use two monitors but they're for two distinctly separate tasks. The one on the right is always e-mail and chat. The one on the left -- pretty much directly in front of me -- is for whatever else I'm working on.

Widescreens are good for positioning stuff in an IDE, but as far as the actual code goes I personally prefer 132-column width window, Deja Vu Sans Mono font.

I figure (1)

smitty_one_each (243267) | about 5 months ago | (#47086751)

. . .whatever is in the Linux kernel coding guidelines is just about right, in a QED kind of way.

Re:I figure (1)

Bill Dog (726542) | about 5 months ago | (#47097765)

You're a bulemic's best friend there.

I was forced to do this at work (1)

Marxist Hacker 42 (638312) | about 5 months ago | (#47086811)

The secondary monitor they gave me at work, forced me to do this because it was not compatible with my prescription sunglasses. Many flatscreens are not, and the answer is to turn them 90 degrees.
 
Setting up my visual studio IDE has been an issue. Two things I've tried so far: Move the properties down to the bottom of the screen, and move the object explorer windows to the screen of the laptop.

In favor of 80 columns... (1)

RailGunner (554645) | about 5 months ago | (#47099799)

I have a wide screen monitor at work. I can comfortably cascade three gVim windows -- so, trying to chase down an issue I can look at the client source, server source, and DB ADO source all at the same time.
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?