Post #2279997
2026-04-15 15:18 UTC
@karolherbst@chaos.social
XKCD 1172 energy
Replies (1)
-
@jcm@wafrn.jcm.re 2026-04-15 15:23
@karolherbst@chaos.social I personally prefer well documented APIs that explicitly state required preconditions and behavior that you can rely on (and define what behavior you cannot rely on). If you violate a precondition and it still works, it should be allowed to stop working at any point (even because your CPU temperature increases). If you rely on undefined behavior, your code might break at any point and imo that is okay.