Y
Hacker News
new
|
ask
|
show
|
jobs
by
panopticon
1832 days ago
A function still seems appropriate even if you're not using this multiple times. Unless
how
you're computing the haversine distance is relevant to the surrounding code, it would be much more readable to extract it out.