Here’s something new, why don’t we all take a survey?!?!?! Yay! Exciting! The Department of Computer Science at the University of Virginia is doing a survey on code readability. You can write the same piece of code in a dozen different ways, changing the amount of white space you use, where you put braces and brackets, and so forth. It’s really more about aesthetics than the content of the code itself. It helps if you know some programming but don’t worry about skewing the results if you not a programmer, just answer the questions about your background truthfully so they can toss out your data if necessary.
Here is the survey. As a final note, I did not rate any of the code snippets with a four nor a five. I thought all of them could have been written with more readability in mind.