in reply to
Re: My code and your stupidity don't mix!
in thread Would you use 'goto' here?
Which one would you prefer to read in your documentation?
- the ways that I can let you know what I am thinking that will help you know what I am thinking better
- effective communication
The first phrase doesn't use a word over 8 letters, and only three words are six letters or more. Every word is one that a second-grader would know what it means. It's also 22 words long.
The second phrase, however, is only two words long - 9 letters and 13 letters respectively. Both are words that I wouldn't expect a child in fourth grade to know. Oh, and the second phrase still contains a more precise meaning than the first phrase.
That's what map and grep and $_ do for you. Succinct communication is often more effective communication.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?