DEV Community

Discussion on: Little Geo Stories: Square Miles

Collapse
 
ben profile image
Ben Halpern

This kind of reminds me of an interaction I had with a journalist who I was chatting with as she worked on a piece. It was about a refugee slum where a certain number of people lived in a certain number of square KM. The point was that it was a lot of people packed into a small amount of space.

But the math was weird. I don't remember the details, but conversions between miles and KM and multiplying squares and everything is just super unintuitive. It would have been very easy to make a mistake and move on. A false positive on correctness.

This code was written ten years ago.

😰😰😰😰😰


In a total tangent, this also reminds me of the 500 mile email. The details are not similar really, but everyone should read that one. It's a great bug story.

Collapse
 
evanoman profile image
Evan Oman

+1 for 500 mile email, fantastic story

Collapse
 
ice_lenor profile image
Elena

I read this one, great story. Miles are insidious.

And the conversion is actually super easy.
1 km = 0.621 mi.
1 km2 = 0.386 mi2.