Re:How do we read code?
by synesthesiam on Wednesday December 19, 2012 @12:35PM
(#4943652)
I went back and forth over what to name this variable. I wanted it to convey some meaning (winners are the items that passed or "won" the test), but not give away too much.
Several people have commented on this, however, so I may just change the name to "matches" or something. Thanks for the suggestion :)
The experiment has several variants of each program. In some cases the names make sense, and in other cases they are just random words. One of the goals is to measure how much choosing good names matters.
Why winners? What a bizarre variable name, to me anyway. Does anyone else use that? I always go with `matches`, `retVals` or `returnValues` depending on the language/IDE I'm using.