Y
Hacker News
new
|
ask
|
show
|
jobs
by
bnolsen
2675 days ago
no, it's not. bigger deal is that single letter vars make it much harder to search for variable usage in files using arbitrary editors.
2 comments
coldtea
2675 days ago
Don't use arbitrary editors, or editors that don't support "search for standalone identifier" (e.g. surrounded by space, in (), with ; after etc.".
link
apoorvgarg
2675 days ago
What would be the signature of your gcd function ?
link
base698
2675 days ago
Numerator, denominator?
link
mrgriffin
2675 days ago
For GCD? I would find those names very misleading since semantically the order of the arguments to GCD is irrelevant (even if in the implementation you typically mod by b there's no reason you couldn't mod by a).
link
sacado2
2675 days ago
This is not mathematically correct. Those names would be pretty misleading, actually.
link
coldtea
2675 days ago
Good luck with any bigger equation then
link