Three things:
- Comments
- Comments
- Comments
Did I mention "comments"?
Update: Seriously? This negative a reaction to the idea that well-commented code is a valid indicator of a good and experienced (I'd add professional) developer?
Did I accidentally log in to the Bizarro StackOverflow or something? I have a question for all the down-voters:
If a job candidate submitted a code sample that included no comments whatsoever, would you conclude a) the candidate is the most brillant programmer in history, or b) the candidate has never worked in a professional code shop?
Remember that the original question was (to paraphrase) "what single feature of code lets you best evaluate a developer's ability and experience?", not "do the most awesomest programmers need to use comments or not?"
Update 2: So far, my favorite comment on why comments (in code) are bad is this one from Tom Cabanski:
Inexperienced programmers read the
comments and get fooled.
I never thought of it this way. I'm going to stop putting comments in my code, and I'm also going to stop giving my variables descriptive names, since the names (which are just a convention not enforced by the compiler) might fool inexperienced programmers. And no more documentation of any kind, since that might fool inexperienced programmers too.
It's weird, though, because I always thought that the whole point of comments/naming conventions/documentation etc. was to help other programmers understand what your code is doing and why (as well as why you're not doing it some other way). I guess the great ones just don't need crutches like this.