Click here to Skip to main content
15,505,126 members

Survey Results

Do you limit the width of your source code?   [Edit]

Survey period: 26 Jan 2009 to 2 Feb 2009

76 columns? 100 columns? Anything and let word wrap deal with it? How do you swing?

OptionVotes% 
Yes, so that it can be printed easily1126.08
Yes, so it fits on my screen89548.61
Sometimes yes, sometimes no51628.03
No31817.27



 
GeneralRe: Guidelines in Visual Studio Pin
PIEBALDconsult26-Jan-09 8:14
professionalPIEBALDconsult26-Jan-09 8:14 
GeneralRe: Guidelines in Visual Studio Pin
Vikram A Punathambekar27-Jan-09 3:52
Vikram A Punathambekar27-Jan-09 3:52 
GeneralRe: Guidelines in Visual Studio Pin
Shog926-Jan-09 8:28
sitebuilderShog926-Jan-09 8:28 
GeneralFor Visual Studio... Pin
Naruki26-Jan-09 15:29
Naruki26-Jan-09 15:29 
GeneralRe: For Visual Studio... Pin
PIEBALDconsult26-Jan-09 19:01
professionalPIEBALDconsult26-Jan-09 19:01 
GeneralMy version of VS doesn't have that option... Pin
Naruki26-Jan-09 19:54
Naruki26-Jan-09 19:54 
General229? [modified] Pin
PIEBALDconsult25-Jan-09 21:38
professionalPIEBALDconsult25-Jan-09 21:38 
General79 Pin
Asday25-Jan-09 21:24
Asday25-Jan-09 21:24 
I started limiting the width because of Python PEP0008, but then I realised it's a damn good idea. I've got a line somewhere that's something like:

atta = charset[source]["stats"]["baseattack"] + weaponset[charset[source]["equipment"]["weaponID"]]["attackboost"] + armourset[charset[source]["equipment"]["armourID"]]["attackboost"]


Or at least, it would be, without limiting it to 79 characters.

My current reason is, if I ever do work on joint projects, or anyone wants to read my code, it's rude to make them scroll sideways. Sideways scrolling is the work of the devil.

EDIT: Haha, I also now realise the irony that someone will need to scroll sideways to see the entire line. Oh well, the presence of a horizontal scrollybar at the bottom of the screen is proof enough, of my point.
JokeRe: 79 Pin
ed welch25-Jan-09 22:15
ed welch25-Jan-09 22:15 
GeneralRe: 79 Pin
Asday25-Jan-09 22:31
Asday25-Jan-09 22:31 
GeneralRe: 79 Pin
ed welch26-Jan-09 0:28
ed welch26-Jan-09 0:28 
GeneralRe: 79 Pin
Asday26-Jan-09 0:34
Asday26-Jan-09 0:34 
GeneralWhat, the massive penis didn't do that? Pin
Naruki26-Jan-09 19:57
Naruki26-Jan-09 19:57 
GeneralRe: 79 Pin
Schmuli25-Jan-09 23:43
Schmuli25-Jan-09 23:43 
GeneralRe: 79 Pin
Asday26-Jan-09 0:07
Asday26-Jan-09 0:07 
GeneralRe: 79 Pin
zwickerr27-Jan-09 7:34
zwickerr27-Jan-09 7:34 
GeneralRe: 79 Pin
PIEBALDconsult27-Jan-09 7:25
professionalPIEBALDconsult27-Jan-09 7:25 
GeneralThe width of my screen. Pin
sucram25-Jan-09 20:33
sucram25-Jan-09 20:33 
GeneralRe: The width of my screen. Pin
Jason Barry26-Jan-09 3:48
professionalJason Barry26-Jan-09 3:48 
GeneralRe: The width of my screen. Pin
sucram26-Jan-09 20:22
sucram26-Jan-09 20:22 
GeneralHey, I'm #1 Pin
Jay Riggs25-Jan-09 19:06
Jay Riggs25-Jan-09 19:06 
GeneralRe: Hey, I'm #1 Pin
bob_K7IQ25-Jan-09 19:45
bob_K7IQ25-Jan-09 19:45 
GeneralRe: Hey, I'm #1 Pin
Reelix25-Jan-09 20:08
Reelix25-Jan-09 20:08 
GeneralRe: Hey, I'm #1 Pin
PIEBALDconsult25-Jan-09 21:24
professionalPIEBALDconsult25-Jan-09 21:24 
General80 Pin
Great Crested Dave25-Jan-09 21:33
Great Crested Dave25-Jan-09 21:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.