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

re: Totally agree with this statement except for when you code for scenarios that might never exist. We had a severe problem of simple tasks taking day...

Yeah. It's definitely a balance. And it's a "balance" that comes both from general experience and knowledge of your particular customers' or target userbase's proclivities.

One thing that helps with tempering a tendency towards sacrificing adequate delivery-speed on the altar of future-proofing is realizing that "future-proofing" is often an stand-in for "idiot-proofing" ...and that there will always be a better idiot out there. =)

code of conduct - report abuse