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



 
GeneralTeam Settings file Pin
Mark Focas19-Jan-07 16:27
Mark Focas19-Jan-07 16:27 
GeneralI don't like to break into a new line until the semi-colon ... Pin
Xiangyang Liu 刘向阳18-Jan-07 9:52
Xiangyang Liu 刘向阳18-Jan-07 9:52 
GeneralRe: I don't like to break into a new line until the semi-colon ... Pin
wittend22-Jan-07 6:48
wittend22-Jan-07 6:48 
GeneralNot a 5-cent cigar, but . . . Pin
W Balboos, GHB18-Jan-07 9:48
W Balboos, GHB18-Jan-07 9:48 
GeneralRe: Not a 5-cent cigar, but . . . Pin
PJ Arends20-Jan-07 19:43
professionalPJ Arends20-Jan-07 19:43 
GeneralRe: Not a 5-cent cigar, but . . . Pin
W Balboos, GHB22-Jan-07 2:07
W Balboos, GHB22-Jan-07 2:07 
GeneralCheckin reason: Whitespace fixes [modified] Pin
Anders Dalvander17-Jan-07 20:04
Anders Dalvander17-Jan-07 20:04 
GeneralRe: Checkin reason: Whitespace fixes Pin
Rajasekharan Vengalil18-Jan-07 6:25
Rajasekharan Vengalil18-Jan-07 6:25 
GeneralRe: Checkin reason: Whitespace fixes Pin
Jon Rista19-Jan-07 9:35
Jon Rista19-Jan-07 9:35 
GeneralRe: Checkin reason: Whitespace fixes Pin
PIEBALDconsult19-Jan-07 16:46
mvePIEBALDconsult19-Jan-07 16:46 
GeneralHow hard is it ..... Pin
Prakash Nadar16-Jan-07 22:27
Prakash Nadar16-Jan-07 22:27 
GeneralRe: How hard is it ..... Pin
jhwurmbach17-Jan-07 5:17
jhwurmbach17-Jan-07 5:17 
GeneralRe: How hard is it ..... Pin
Prakash Nadar17-Jan-07 5:20
Prakash Nadar17-Jan-07 5:20 
GeneralRe: How hard is it ..... Pin
jhwurmbach17-Jan-07 5:24
jhwurmbach17-Jan-07 5:24 
GeneralRe: How hard is it ..... Pin
Prakash Nadar17-Jan-07 5:39
Prakash Nadar17-Jan-07 5:39 
JokeCode Pfft Pin
S Douglas15-Jan-07 23:52
professionalS Douglas15-Jan-07 23:52 
QuestionRe: Code Pfft Pin
Vikram A Punathambekar17-Jan-07 6:14
Vikram A Punathambekar17-Jan-07 6:14 
AnswerRe: Code Pfft Pin
S Douglas18-Jan-07 2:03
professionalS Douglas18-Jan-07 2:03 
GeneralRe: Code Pfft Pin
Vikram A Punathambekar18-Jan-07 5:55
Vikram A Punathambekar18-Jan-07 5:55 
GeneralTo many comments Pin
Gammill15-Jan-07 19:34
Gammill15-Jan-07 19:34 
Have you ever worked with someone who wrote "books" of comments?
A few lines of code -- preceeded by 10 or 15 lines of comments.
Regurally! I did. I did NOT like to get into his code! Everything
was explained (in DETAIL); but it was hard to follow the logic.

Now ... this was when I use Emacs and programmed in C on UNIX; but
even with todays VS7 IDE and the availablity of outlineing. One can
"over comment". I like pragma regions! I can write a long winded
explination why I did something and put it within a pragma region
close the region and all is well Smile | :)

Personally -- I am somewhat long winded (can't you tell Smile | :) ) So my
comments abound. But! There are limits. A nice balance.

Consistancy of formating and consistancy in comments!

(By the by -- on spelling -- I am a poor speller. And the VS IDE
does not contain a spell checker. I have found that a little program
call "ClipMate" has an excellent spell checker. Just copy your comment
to the clipboard -- use ClipMate's spell checker and paste it back in.
Simple!)





WedgeSoft

GeneralRe: To many comments Pin
S Douglas15-Jan-07 23:42
professionalS Douglas15-Jan-07 23:42 
GeneralRe: To many comments Pin
Kevin McFarlane16-Jan-07 11:07
Kevin McFarlane16-Jan-07 11:07 
GeneralRe: To many comments Pin
Gammill16-Jan-07 15:34
Gammill16-Jan-07 15:34 
GeneralRe: To many comments Pin
Ed Gadziemski21-Jan-07 8:28
professionalEd Gadziemski21-Jan-07 8:28 
GeneralRe: To many comments Pin
Gammill21-Jan-07 10:51
Gammill21-Jan-07 10:51 

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.