| ▲ | usrnm 5 hours ago | ||||||||||||||||
Also known as contract programming vs. defensive programming. This argument is very old, is not specific to golang, and I have found myself on both sides at different points in my carreer. | |||||||||||||||||
| ▲ | Sharlin 3 hours ago | parent [-] | ||||||||||||||||
Fortunately we have type systems to encode many contracts at compile time, including stuff like optionality. Certainly no modern language would still repeat Hoare’s "billion dollar mistake"? Right? …Oh. | |||||||||||||||||
| |||||||||||||||||