Click here to Skip to main content
15,880,469 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



 
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 
GeneralFor me, it usually depends on the IDE Pin
Naruki26-Jan-09 14:26
Naruki26-Jan-09 14:26 
In Eclipse, I hit the reformat command all the time. Whatever the settings are, that's what happens. (I do tinker with the settings at first, but once done I just let it do its thing.)

This makes the comments go all wonky sometimes, but that's not too important.

Visual Studio has really, really sucky reformatting. Pisses me right off, it does.

Recently started using NetBeans, and it's somewhere between Eclipse and VS.

If I'm using TextPad, then I use line breaks depending on my mood. I hate horizontal scrolling, but if all I have is text (such as a print statement), I may keep it on a single line to avoid wasting too much vertical space.

Basically, I format using the 1TBS.

Don't let my name fool you. That's my job.

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 Pin
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 
GeneralRe: Guidelines in Visual Studio Pin
Shog926-Jan-09 7:28
sitebuilderShog926-Jan-09 7:28 
GeneralFor Visual Studio... Pin
Naruki26-Jan-09 14:29
Naruki26-Jan-09 14:29 
GeneralRe: For Visual Studio... Pin
PIEBALDconsult26-Jan-09 18:01
mvePIEBALDconsult26-Jan-09 18:01 
GeneralMy version of VS doesn't have that option... Pin
Naruki26-Jan-09 18:54
Naruki26-Jan-09 18:54 
General229? [modified] Pin
PIEBALDconsult25-Jan-09 20:38
mvePIEBALDconsult25-Jan-09 20:38 

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.