Click here to Skip to main content
16,015,679 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



 
GeneralGong Hei Fat Choi Pin
W Balboos, GHB26-Jan-09 3:29
W Balboos, GHB26-Jan-09 3:29 
GeneralFormatting for the screen width Pin
Tim Carmichael26-Jan-09 3:12
Tim Carmichael26-Jan-09 3:12 
GeneralLine length ... depends Pin
Member 405523525-Jan-09 23:41
Member 405523525-Jan-09 23:41 
General80-100 characters max Pin
Paul Betteridge25-Jan-09 23:18
Paul Betteridge25-Jan-09 23:18 
GeneralRe: 80-100 characters max Pin
Jeremy Falcon26-Jan-09 11:19
professionalJeremy Falcon26-Jan-09 11:19 
GeneralLimiting by case Pin
Schmuli25-Jan-09 22:49
Schmuli25-Jan-09 22:49 
GeneralRe: Limiting by case Pin
PIEBALDconsult26-Jan-09 7:00
mvePIEBALDconsult26-Jan-09 7:00 
GeneralRe: Limiting by case Pin
Schmuli26-Jan-09 19:32
Schmuli26-Jan-09 19:32 
Generally speaking, long names don't always make a problem, but it does crop up now and then. I don't like to split an operation, so I wont split at the dots either. I would much rather have a long line that clearly displays the operation being performed, than break it up onto a number of lines. Again, in such a case, I will attempt to use the most atomic operations possible, to help keep the lines as short as possible.
When breaking a string up, for example in C#, you need to end the string on each line, and add a '+' for each following line. This is runtime concatenation. I do believe there are other compilers (VB?) that will perform the concatenation at compile time, so that would depend on the compiler, I guess.
GeneralFor me, it usually depends on the IDE Pin
Naruki26-Jan-09 14:26
Naruki26-Jan-09 14:26 
GeneralRe: For me, it usually depends on the IDE Pin
Schmuli26-Jan-09 19:38
Schmuli26-Jan-09 19:38 
GeneralRe: For me, it usually depends on the IDE Pin
Naruki26-Jan-09 19:56
Naruki26-Jan-09 19:56 
GeneralRe: For me, it usually depends on the IDE Pin
Schmuli26-Jan-09 23:52
Schmuli26-Jan-09 23:52 
GeneralDrat! I got all excited... Pin
Naruki27-Jan-09 13:18
Naruki27-Jan-09 13:18 
GeneralRe: Drat! I got all excited... Pin
Schmuli27-Jan-09 23:16
Schmuli27-Jan-09 23:16 
GeneralRe: Limiting by case Pin
Old Nic27-Jan-09 4:15
Old Nic27-Jan-09 4:15 
General80, for printability Pin
Rob Grainger25-Jan-09 22:36
Rob Grainger25-Jan-09 22:36 
GeneralRe: 80, for printability Pin
Jeremy Falcon26-Jan-09 11:18
professionalJeremy Falcon26-Jan-09 11:18 
GeneralRe: 80, for printability Pin
Old Nic27-Jan-09 4:19
Old Nic27-Jan-09 4:19 
GeneralRe: 80, for printability Pin
Jeremy Falcon27-Jan-09 6:54
professionalJeremy Falcon27-Jan-09 6:54 
General105 Pin
urbane.tiger25-Jan-09 21:32
urbane.tiger25-Jan-09 21:32 
GeneralGuidelines in Visual Studio PinPopular
Vikram A Punathambekar25-Jan-09 21:27
Vikram A Punathambekar25-Jan-09 21:27 
GeneralRe: Guidelines in Visual Studio Pin
W Balboos, GHB26-Jan-09 3:39
W Balboos, GHB26-Jan-09 3:39 
GeneralRe: Guidelines in Visual Studio Pin
Vikram A Punathambekar26-Jan-09 4:07
Vikram A Punathambekar26-Jan-09 4:07 
GeneralRe: Guidelines in Visual Studio Pin
PIEBALDconsult26-Jan-09 7:14
mvePIEBALDconsult26-Jan-09 7:14 
GeneralRe: Guidelines in Visual Studio Pin
Vikram A Punathambekar27-Jan-09 2:52
Vikram A Punathambekar27-Jan-09 2:52 

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.