Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • 2
    what if he did a copy/paste of the paper and then made it part of his source code as a comment despite the one character variable names? Commented Nov 1, 2010 at 13:25
  • 24
    A lot of these variable names have strong meanings to those familiar with the problem domain. To someone familiar with the domain, English names might be less readable than names like sigma or rho. Commented Nov 1, 2010 at 13:50
  • 3
    I'm afraid something like rank_error_with_99_pct_confidence is a bit too long for this and wouldn't actually make the formulas any easier to understand. AllegSkill/TrueSkill call those sigma, so I believe it's perfectly acceptable of me to maintain the domain specific name they have. Commented Nov 1, 2010 at 15:37
  • 4
    @badp: good names is concise and descriptive; but it does not have to be fully descriptive. For your sigma, it is perfectly good to use rank_error and put the extra detail about 99-percent confidence in the documentation/comment somewhere. Commented Nov 1, 2010 at 17:05
  • 1
    @dsimcha: I think those familiar with a particular domain are significantly rarer than those, who never heard of it. And I think those familiar with the domain will be able to cope with plain english names, whereas those not familiar with it will be completely unable to understand what's happening if everything is obfuscated by greek one-letter-variables. Commented Nov 1, 2010 at 17:35