Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Contracts aren't for handling errors. That blog post is extremely out of date, and doesn't reflect the current state of contracts

Modern C++ contracts are being sold as being purely for debugging. You can't rely on contracts like an assert to catch problems, which is an intentional part of the design of contracts



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: