Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Your favorite variable name? | Better HN
Your favorite variable name?
(groups.google.com)
2 points · by
johnx123-up
· 14y ago · 1 comment
Comments
[–]
cloudwalking
14y ago
One trick I recently learned is to put units on the end of instance variables. For example, GPS accuracy might be gps_accuracy_meters, likewise cost might be cost_cents.