Hacker News new | comments | show | ask | jobs | submit login

Assertions are also a great way to say: "this should be true, if this is not true, the code behavior is undefined."

Carefully using assertions is a great way to see if you are building your code wrong. Like a way to tell you "you're trying to fit the wrong lego piece in".

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact