Re:Assertions in Production Code? (2008)
by pmichalina on Friday August 31, 2018 @02:31PM
(#17887805)
Tests are good of course, but that assumes the tests are valid. I’d rather trust compiler to ensure runtime safety.
In this thread, we discuss asserts, not abstractions. Monad is an abstraction. (On the other hand, many people only see tests and forget about two other solutions, which are as important.)