Click here to Skip to main content
16,004,761 members

Survey Results

How wide is your sourcecode?   [Edit]

Survey period: 7 Aug 2006 to 13 Aug 2006

We get a lot of submissions with code that is over 200 characters wide. Do people really code like that?

OptionVotes% 
80 characters wide or less30221.90
100 characters wide or less26319.07
120 characters wide or less18713.56
Some value greater than 120 characters836.02
Depends on the IDE I'm using1097.90
Depends on the monitor I'm using23116.75
No maximum line length20414.79



 
GeneralRe: Preferred font Pin
Michael Dunn9-Aug-06 10:11
sitebuilderMichael Dunn9-Aug-06 10:11 
GeneralRe: Preferred font Pin
kurt cobain9-Aug-06 17:01
kurt cobain9-Aug-06 17:01 
GeneralRe: Preferred font Pin
peterchen10-Aug-06 22:33
peterchen10-Aug-06 22:33 
GeneralRe: Preferred font Pin
CodeGuy11-Aug-06 5:09
CodeGuy11-Aug-06 5:09 
AnswerProfont Pin
Pavel Vozenilek12-Aug-06 8:34
Pavel Vozenilek12-Aug-06 8:34 
Generalreally wide Pin
Almighty Bob7-Aug-06 12:28
Almighty Bob7-Aug-06 12:28 
JokeRe: really wide Pin
David Veeneman9-Aug-06 3:38
David Veeneman9-Aug-06 3:38 
GeneralRe: really wide Pin
Almighty Bob9-Aug-06 6:11
Almighty Bob9-Aug-06 6:11 
I had to create dev training material on it too, try pasting a class like:

AclassWithReallyLongNamesThatDidThisAndThatAndAnotherBecauseWeLikeToWriteLongClassNamesClassAndCouldntImagineNamingThingsShorterBecauseNobodyWouldBeAbleToUnderStandWhatItDid

that was implemented as a singleton with a similarly long instance property and service method that was about as long, into word in a blockquoted box and still make it look good (the font was so small that it wasnt even readable on the final print media.

They actually ran into a bug that was caused by reflection not being able to load a type because its name was longer than 256 characters. Laugh | :laugh:







GeneralRe: really wide Pin
David Veeneman9-Aug-06 11:18
David Veeneman9-Aug-06 11:18 
GeneralRe: really wide Pin
Almighty Bob9-Aug-06 11:51
Almighty Bob9-Aug-06 11:51 
General80-90 Pin
Michael Dunn7-Aug-06 7:50
sitebuilderMichael Dunn7-Aug-06 7:50 
GeneralRe: 80-90 Pin
Jeremy Falcon7-Aug-06 8:13
professionalJeremy Falcon7-Aug-06 8:13 
GeneralRe: 80-90 [modified] Pin
Alexander M.,7-Aug-06 9:52
Alexander M.,7-Aug-06 9:52 
GeneralRe: 80-90 Pin
Ravi Bhavnani7-Aug-06 12:05
professionalRavi Bhavnani7-Aug-06 12:05 
GeneralRe: 80-90 Pin
Rama Krishna Vavilala7-Aug-06 15:22
Rama Krishna Vavilala7-Aug-06 15:22 
GeneralRe: 80-90 Pin
Michael Dunn7-Aug-06 15:48
sitebuilderMichael Dunn7-Aug-06 15:48 
GeneralRe: 80-90 Pin
John R. Shaw8-Aug-06 6:26
John R. Shaw8-Aug-06 6:26 
GeneralMostly 81 characters Pin
Hamed Musavi7-Aug-06 2:04
Hamed Musavi7-Aug-06 2:04 
GeneralMultiple Choice for Depends? Pin
Ed.Poore6-Aug-06 22:23
Ed.Poore6-Aug-06 22:23 
GeneralRe: Multiple Choice for Depends? Pin
Weiye Chen7-Aug-06 20:33
Weiye Chen7-Aug-06 20:33 
GeneralComments stretch the lenght out Pin
Gammill6-Aug-06 19:04
Gammill6-Aug-06 19:04 
GeneralRe: Comments stretch the lenght out Pin
Shawn Poulson7-Aug-06 4:11
Shawn Poulson7-Aug-06 4:11 
GeneralRe: Comments stretch the lenght out Pin
Paul Watson7-Aug-06 23:57
sitebuilderPaul Watson7-Aug-06 23:57 
GeneralRe: Comments stretch the lenght out Pin
PJ Arends8-Aug-06 16:21
professionalPJ Arends8-Aug-06 16:21 
GeneralRe: Comments stretch the lenght out Pin
David Veeneman9-Aug-06 3:42
David Veeneman9-Aug-06 3:42 

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.