4 ms·
They should default to the point at infinity.
by NoToP 3y ago
They should default to the point at infinity.
- dwattttt 3y agoI mean, they should default to an out of band error; these days, especially for something as high level as mapping, there's no good reason to need to fold "this is an error case" in with "this is a set of valid coordinates X"
- NoToP 3y agoPsst, the math joke here is that "the point at infinity" is literally the mathematicians version of folding in "this is an error case" with "valid coordinates". The "error case" in question being division by zero. Turns out there is good reason to do it, because it means the co-ordinate is always defined.
- martinky24 3y agoIf you have to explain the joke...
- NoToP 3y agoExplaining a joke is like dissecting a frog. You understand it better, but the frog dies in the process.
- dwattttt 3y agoI'd also add that I appreciate a good maths joke, but that's far outweighed by an irrational (in degree) anger at APIs where the error case is a member of the success cases type
- m463 3y ago180°0'0.0"N 180°0'0.0"E Degrees