News for hackers. Stuff that matters.
Re:Constructors and evil initializers in C++ by jmmv on Wednesday November 24, 2021 @04:03PM (#29335109)
Crashing is fine if you are dealing with trusted input. But in the post, parameter validation was just an example. I've seen plenty of code using init methods to create network connections and the like -- and in those cases, you need proper error propagation.

There are no comments on this comment yet.