|
|
|
|
|
by Niten
4431 days ago
|
|
> But somebody somewhere is reading this and thinking this is a "semantically correct pattern" (as it is introduced) and may just copy-paste it into their program. I dare say that would be their fault for blindly copying and pasting without taking the time to understand the context. (He even gives an explicit disclaimer!) Robust error handling would just be more noise to filter through for people actually reading the article, and I don't think it's the author's responsibility to childproof things for people who aren't. |
|
The fact that I got a reply based on a misunderstanding of how asserts work tells me it's a point that needs to be made.