Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
IgorPartola
on Nov 18, 2013
|
parent
|
context
|
favorite
| on:
When to use assert
Wouldn't the example with the if/elif be the same as the above TypeError one? I suppose a ValueError would actually be more appropriate.
Proper design by contract support would be great too.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Proper design by contract support would be great too.