Fail Fast
14 August, 2022
0
0
0
Contributors
TL;DR: Fail fast. Don't hide your mistakes under the rug.
A methodological step back
Defensive programming
Let's suppose that the preconditions are not met and if so, fail quickly.
Representation is always important
Bijection with the real world.
It is much easier and more readable to create a coordinate as an array than to do all that indirection of creating degrees, latitudes, longitudes, and coordinates.
Let's go back to space
The exception is the rule
1.
2.
3.
As always, design decisions involve continuous trade-offs.
Conclusions
programming
debugging