Click here to Skip to main content
15,914,500 members

Survey Results

Do you format your code?   [Edit]

Survey period: 15 Jan 2007 to 21 Jan 2007

Indentation? Whitespace? Lining up the equal signs? Do you make your code pretty or just type it in and not care how it looks?

OptionVotes% 
I am extremely pedantic about ensuring my code is formatted perfectly54635.09
I format my code carefully but not obsessively87155.98
I do the minimum formatting that will keep it readable1207.71
I never bother doing any formatting.191.22



 
GeneralPedantic is an unterstatement Pin
David Wulff15-Jan-07 5:33
David Wulff15-Jan-07 5:33 
GeneralRe: Pedantic is an unterstatement Pin
Roger Wright15-Jan-07 6:43
professionalRoger Wright15-Jan-07 6:43 
GeneralRe: Pedantic is an unterstatement Pin
hairy_hats17-Jan-07 0:40
hairy_hats17-Jan-07 0:40 
GeneralRe: Pedantic is an unterstatement Pin
PIEBALDconsult19-Jan-07 17:02
mvePIEBALDconsult19-Jan-07 17:02 
GeneralT Pin
Vikram A Punathambekar17-Jan-07 6:12
Vikram A Punathambekar17-Jan-07 6:12 
GeneralRe: T Pin
David Wulff17-Jan-07 6:36
David Wulff17-Jan-07 6:36 
GeneralRe: T Pin
Vikram A Punathambekar17-Jan-07 17:27
Vikram A Punathambekar17-Jan-07 17:27 
GeneralRe: T Pin
David Wulff17-Jan-07 23:52
David Wulff17-Jan-07 23:52 
Vikram A Punathambekar wrote:
I was mainly referring to books.


You will find that most books, especially novels, do still use double spacing after periods.  It may not be as obvious as it is with fixed-width fonts, but if you compare the gaps with those following commas you will see they are wider.  Most magazines seem to be the same too.  It's purpose is to help you quickly skim read back to the place you left the story when you last put it down by helping you jump between sentences.

That said, I have noticed some technology books don't do this anymore, such as product manuals and books authored by developers. It's a shame because it makes it a lot harder for me to read them.  Likewise, many people fail to use paragraphs correctly anymore, even in professional writing.  I believe this is one of the reasons why Word 2007 introduced the one-break pargraph by default, instead of having to enter two breaks.

Don't feel too bad about it, you are a member of the growing majority and if it works well for you then there isn't a problem.  Eventually the practise will die for convienience.  People just don't care about writen communication any more, double-spacing is the least of our problems when four out of ten of our primary school leavers are unable to even use full stops (periods) in the first place.  Pupils 'unable to use full stops'[^]

Vikram A Punathambekar wrote:
the extra spaces kinda stick out and are actually ungainly


I wrote this message with double spaces, how far did you get before noticing it?



Ðavid Wulff
What kind of music should programmers listen to?
Join the Code Project Last.fm group | dwulff

I'm so gangsta I eat cereal without the milk

GeneralRe: T Pin
hairy_hats18-Jan-07 1:34
hairy_hats18-Jan-07 1:34 
JokeRe: T Pin
Vikram A Punathambekar18-Jan-07 5:52
Vikram A Punathambekar18-Jan-07 5:52 
AnswerRe: T Pin
David Wulff18-Jan-07 5:54
David Wulff18-Jan-07 5:54 
GeneralRe: T Pin
S Douglas21-Jan-07 0:19
professionalS Douglas21-Jan-07 0:19 
GeneralRe: T Pin
Vikram A Punathambekar23-Jan-07 4:29
Vikram A Punathambekar23-Jan-07 4:29 
GeneralRe: T Pin
S Douglas23-Jan-07 5:08
professionalS Douglas23-Jan-07 5:08 
GeneralRe: Pedantic is an unterstatement Pin
Marc Clifton17-Jan-07 9:46
mvaMarc Clifton17-Jan-07 9:46 
Generaltodays IDE's Pin
Signal-915-Jan-07 2:32
Signal-915-Jan-07 2:32 
GeneralRe: todays IDE's Pin
V.15-Jan-07 2:59
professionalV.15-Jan-07 2:59 
GeneralRe: todays IDE's Pin
Signal-915-Jan-07 3:05
Signal-915-Jan-07 3:05 
GeneralRe: todays IDE's Pin
Nitron15-Jan-07 3:13
Nitron15-Jan-07 3:13 
GeneralRe: todays IDE's Pin
Signal-915-Jan-07 3:15
Signal-915-Jan-07 3:15 
GeneralRe: todays IDE's Pin
KevinHall15-Jan-07 5:22
KevinHall15-Jan-07 5:22 
GeneralRe: todays IDE's Pin
Steve Hansen15-Jan-07 3:29
Steve Hansen15-Jan-07 3:29 
GeneralRe: todays IDE's Pin
Vasudevan Deepak Kumar15-Jan-07 16:52
Vasudevan Deepak Kumar15-Jan-07 16:52 
GeneralRe: todays IDE's Pin
Madhu Kampurath16-Jan-07 21:12
Madhu Kampurath16-Jan-07 21:12 
GeneralRe: todays IDE's Pin
Nemanja Trifunovic15-Jan-07 4:12
Nemanja Trifunovic15-Jan-07 4:12 

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.