Click here to Skip to main content
16,018,264 members

Survey Free Text Answers

What most improves the readability of source code?

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?

Text entry answers for sorted by frequency of occurrance.

(9) all of the above
(6) ClistCtrl
(2) get rid of STL
(2) All Of Above
(1) 1, 2, 3 & 5
(1) Adherence to coding standards
(1) Good Unit Tests
(1) Logi and structure with the wise use of white space
(1) master and details on form
(1) method overloading
(1) no cuddling braces to save lines...that makes it hard to tell function/method headings and if/else/for blocks
(1) Normally, you do read code to understand, if the comment tells entire story, you can make yr own logic then, still you will be having bird eye view after knowing the purpose of the code
(1) Obvious names coupled with concise code logic and structure
(1) pair programming
(1) php ebooks
(1) Regions
(1) Salma Hayak's breast's resting lightly on my shoulders while she whispers comments in my ear
(1) Simplicity
(1) syntax of stored procedure
(1) the all improve the readability of source code
(1) the correct code page
(1) tradeoff of all above items
(1) Using the english language for; variables, classes, methods and comments.
(1) Code that works
(1) Consistency
(1) Correct Spelling and grammar
(1) Correct Spelling and grammarCorrect Spelling and grammarCorrect Spelling and grammarCorrect Spelling and grammarCorrect Spelling and grammarCorrect Spelling and grammarCorrect Spelling and grammar
(1) decent, socially adept programmers
(1) Documentation, Naming Conventions and Modular code
(1) Existing knowledge of it...
(1) Explain intent and algorithm or process for non-trivial methods.
(1) following standard naming conventions
(1) All of the above -- the more of these that are missing, the harder the code is to understand.
(1) All of the above ... Readability diminshes with the lack of each point
(1) All of the above.
(1) All of the above. Seriously. Quit typing weird jibberish thinking it's cool. It's not. Write readable code, dammit.
(1) all of the listed above
(1) All of these
(1) all the above
(1) Also Claer and useful comments/code logic and structure too.
(1) B, C and E all together. The hungarian notations can also confuse...
(1) be consistant, no matter what code-style you use
(1) choices 1, 2, and 3