Click here to Skip to main content
15,891,372 members

Survey Results

What's easier to read: Code or Text?

Survey period: 14 Apr 2014 to 21 Apr 2014

Given a code sample and an accurate well-written textual description of the code, what's easier for you to read?

OptionVotes% 
Code57128.14
Depends on the code and the text1,30264.17
Text1587.79



 
GeneralRe: These surveys are getting very poor PinPopular
Dan Neely14-Apr-14 3:36
Dan Neely14-Apr-14 3:36 
GeneralRe: These surveys are getting very poor PinPopular
Gary Wheeler14-Apr-14 4:55
Gary Wheeler14-Apr-14 4:55 
GeneralRe: These surveys are getting very poor Pin
musefan14-Apr-14 23:58
musefan14-Apr-14 23:58 
GeneralRe: These surveys are getting very poor Pin
David Cunningham15-Apr-14 7:40
cofounderDavid Cunningham15-Apr-14 7:40 
GeneralRe: These surveys are getting very poor Pin
Paul M Watt15-Apr-14 13:16
mentorPaul M Watt15-Apr-14 13:16 
GeneralText is always easier to read Pin
sellinger13-Apr-14 23:15
sellinger13-Apr-14 23:15 
GeneralRe: Text is always easier to read Pin
musefan13-Apr-14 23:31
musefan13-Apr-14 23:31 
GeneralRe: Text is always easier to read Pin
AlexCode14-Apr-14 1:22
professionalAlexCode14-Apr-14 1:22 
"Consider that you don't have to be an expert in a given language to understand text."
Consider that the important is to understand what you just read.
I can perfectly read several languages (English, Portuguese, Spanish, French, Italian) but it doesn't necessarily mean that I can understand all books written in those languages.
And I'm not speaking only about the language, the content and the way it was written also has a huge importance.

"Also, we can document intent in text, but the code, just has the code."
Exactly, there's no misconceptions or misunderstandings. There's no implicit meanings or pre-required knowledge.
If you know the language you can read the code. Now it's just a matter of how the code was written (similar to what I said about the books). But although it can be hard to read, you're sure that everything you need to understand it it right there. Smile | :)

"The comments associated with code are *never* good"
English comments should describe the intent. If you need specifics you should read the actual text (the code).

"Some code is easier to read than others, but it is rarely easy to read code."
True, and to make it readable we should obey to rules like any other communication language.
On my post here I describe a good head start Shucks | :-\
GeneralRe: Text is always easier to read Pin
kalberts15-Apr-14 1:24
kalberts15-Apr-14 1:24 
GeneralRe: Text is always easier to read Pin
Jorge Lalinde15-Apr-14 3:14
Jorge Lalinde15-Apr-14 3:14 
GeneralRe: Text is always easier to read Pin
Rob Grainger16-Apr-14 5:06
Rob Grainger16-Apr-14 5:06 
GeneralRe: Text is always easier to read Pin
Rob Grainger16-Apr-14 22:12
Rob Grainger16-Apr-14 22:12 
Generalwell written code doesn't need explanation Pin
AlexCode13-Apr-14 22:20
professionalAlexCode13-Apr-14 22:20 
GeneralRe: well written code doesn't need explanation Pin
Kevin McFarlane14-Apr-14 4:12
Kevin McFarlane14-Apr-14 4:12 
GeneralRe: well written code doesn't need explanation Pin
Rob Grainger16-Apr-14 22:17
Rob Grainger16-Apr-14 22:17 
GeneralRe: well written code doesn't need explanation Pin
Kevin McFarlane16-Apr-14 23:53
Kevin McFarlane16-Apr-14 23:53 
GeneralRe: well written code doesn't need explanation Pin
snorkie14-Apr-14 7:24
professionalsnorkie14-Apr-14 7:24 
GeneralRe: well written code doesn't need explanation Pin
AlexCode14-Apr-14 20:04
professionalAlexCode14-Apr-14 20:04 
GeneralRe: well written code doesn't need explanation Pin
snorkie15-Apr-14 3:59
professionalsnorkie15-Apr-14 3:59 
GeneralRe: well written code doesn't need explanation Pin
AlexCode19-Apr-14 9:56
professionalAlexCode19-Apr-14 9:56 
GeneralDidn't think was about commenting Pin
CHill6013-Apr-14 22:02
mveCHill6013-Apr-14 22:02 
GeneralCode with Syntax colors Pin
Sampath Lokuge13-Apr-14 21:58
Sampath Lokuge13-Apr-14 21:58 
GeneralCode does not lie... PinPopular
Sander Rossel13-Apr-14 21:06
professionalSander Rossel13-Apr-14 21:06 
GeneralRe: Code does not lie... Pin
Marco Bertschi13-Apr-14 21:47
protectorMarco Bertschi13-Apr-14 21:47 
GeneralRe: Code does not lie... Pin
Kevin McFarlane14-Apr-14 6:33
Kevin McFarlane14-Apr-14 6:33 

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.