more on assert in programming
Assertions work so well for two reasons:
- They, of course, crash when your assumptions are wrong.
- They document your assumptions.
So when it comes to maintaining your code, you can follow the flow by reading the assertions.
"
No comments:
Post a Comment