Click here to Skip to main content
15,887,676 members

Survey Results

What most improves the readability of source code?   [Edit]

Survey period: 24 Mar 2008 to 31 Mar 2008

Reviewing or even learning someone else's code can be hard work. What's the best way to make code easily approachable for someone else?

OptionVotes% 
Obvious and intuitive names for variables, classes and methods64238.31
Clear and useful comments29417.54
Wise use of Whitespace945.61
Correct Spelling and grammar60.36
Limits on file, class and method sizes281.67
Clear and concise code logic and structure39323.45
The use of common coding patterns and practices1649.79

View optional text answers (58 answers)


 
GeneralClass and method sizes Pin
Santiago Corredoira L.31-Mar-08 22:26
Santiago Corredoira L.31-Mar-08 22:26 
GeneralReal Programmers don't need comments... if the code is obvious Pin
Lizandro Campbell28-Mar-08 13:19
professionalLizandro Campbell28-Mar-08 13:19 
GeneralRe: Real Programmers don't need comments, the code is obvious. Pin
Deano30-Mar-08 6:28
Deano30-Mar-08 6:28 
GeneralRe: Real Programmers don't need comments, the code is obvious. Pin
tmacpherson1-Apr-08 7:50
tmacpherson1-Apr-08 7:50 
GeneralClear and concise. Pin
Pete O'Hanlon27-Mar-08 13:12
mvePete O'Hanlon27-Mar-08 13:12 
GeneralRe: Clear and concise. Pin
Jörgen Sigvardsson27-Mar-08 23:07
Jörgen Sigvardsson27-Mar-08 23:07 
GeneralIt is a shame that hungarian notation is out PinPopular
Joe Sonderegger26-Mar-08 20:55
Joe Sonderegger26-Mar-08 20:55 
GeneralRe: It is a shame that hungarian notation is out Pin
Priyank Bolia27-Mar-08 3:47
Priyank Bolia27-Mar-08 3:47 
GeneralRe: It is a shame that hungarian notation is out Pin
Joe Sonderegger27-Mar-08 6:42
Joe Sonderegger27-Mar-08 6:42 
GeneralRe: It is a shame that hungarian notation is out Pin
Priyank Bolia27-Mar-08 8:10
Priyank Bolia27-Mar-08 8:10 
GeneralRe: It is a shame that hungarian notation is out Pin
_Stilgar_27-Mar-08 8:57
_Stilgar_27-Mar-08 8:57 
GeneralRe: It is a shame that hungarian notation is out Pin
Jörgen Sigvardsson27-Mar-08 23:13
Jörgen Sigvardsson27-Mar-08 23:13 
GeneralRe: It is a shame that hungarian notation is out Pin
Priyank Bolia27-Mar-08 23:27
Priyank Bolia27-Mar-08 23:27 
GeneralRe: It is a shame that hungarian notation is out Pin
Jörgen Sigvardsson27-Mar-08 23:30
Jörgen Sigvardsson27-Mar-08 23:30 
GeneralRe: It is a shame that hungarian notation is out Pin
Priyank Bolia27-Mar-08 23:54
Priyank Bolia27-Mar-08 23:54 
GeneralRe: It is a shame that hungarian notation is out Pin
Draugnar27-Mar-08 7:54
Draugnar27-Mar-08 7:54 
GeneralRe: It is a shame that hungarian notation is out Pin
johannesnestler28-Mar-08 0:52
johannesnestler28-Mar-08 0:52 
GeneralRe: It is a shame that hungarian notation is out Pin
Michael Dunn28-Mar-08 13:55
sitebuilderMichael Dunn28-Mar-08 13:55 
GeneralRe: It is a shame that hungarian notation is out [modified] Pin
Yuancai (Charlie) Ye27-Mar-08 10:48
Yuancai (Charlie) Ye27-Mar-08 10:48 
GeneralRe: It is a shame that hungarian notation is out Pin
Jörgen Sigvardsson27-Mar-08 23:11
Jörgen Sigvardsson27-Mar-08 23:11 
GeneralAnd so he named his children "Girlchild-Bobbi" and "Boychild-Bobby", to avoid confusion later on... Pin
Shog929-Mar-08 8:25
sitebuilderShog929-Mar-08 8:25 
GeneralFirst half of the above Pin
peterchen26-Mar-08 3:22
peterchen26-Mar-08 3:22 
GeneralThe less code, the more readable Pin
Marc Clifton26-Mar-08 0:38
mvaMarc Clifton26-Mar-08 0:38 
GeneralRe: The less code, the more readable Pin
peterchen26-Mar-08 3:27
peterchen26-Mar-08 3:27 
JokeRe: The less code, the more readable Pin
Pete O'Hanlon27-Mar-08 13:10
mvePete O'Hanlon27-Mar-08 13:10 

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.