News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

coding style question: what is the line length limit?

Started by ollydbg, September 03, 2014, 05:00:07 PM

Previous topic - Next topic

ollydbg

I don't see this on Coding style - CodeBlocks
So, what is the preferred value?
My screen is still 1280*800, and I think 100 or 80 is OK, but if it is 120, then I can not see the whole line in the screen.  :(
Maybe, you have a bigger screen resolution. :)
what do you think?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

SteelRat

I'm trying to stick to 80. With any resolution. I think it's just tradition for me.

oBFusCATed

120...
80 makes the code pretty ugly.
1600x1200 or full hd monitors.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]