re: Is “Defensive Programming” actually healthy? VIEW POST

re: I think we need to do our due diligence but if you're working on an app and you know the user base will be quite small (internal software for compa...

I don’t see new cases as being something “engineers dream up.” Happens every day. That’s why the never type says “with what I know now, the code will never experience a different case at runtime.” Seems like an easy thing to apply every time regardless of the size of the user base. Because the user base will grow. And when the user base grows, so will the requested functionality.

I definitely do, but without solid samples it's just us bike shedding 😂

code of conduct - report abuse