DEV Community

Discussion on: Understanding Object-Oriented Programming with Assert

Collapse
 
paulapivat profile image
Paul Apivat

Thanks for sharing. I'll try to keep this in mind, especially this rule:

"Do use asserts sparingly when the distance between cause and effect is not immediate and hence reducing the side effects"