4 ms·
I've been taught to keep these out of production code. If your code fails in a way that gets you in a lawsuit you won't want to be explaining what that "TODO: l
by Cerium 10y ago
I've been taught to keep these out of production code. If your code fails in a way that gets you in a lawsuit you won't want to be explaining what that "TODO: looks like a xxx here" means to the judge.
- crusso 10y agoMaybe if you're coding the algorithm for when to deploy airbags or something similarly life-protecting - but many of us are just coding todo list web sites and the next social media app. As much of a rule-follower as I am... I think that if I always had to code for the eventual lawsuit, I'd quit coding.
- Ensorceled 10y agoI guess you don't file bug reports either?
- Cerium 10y agoWe file bug reports and fix the bugs, but we are not allowed to ship a faulty product to our customers.
- TheCoelacanth 10y agoThen you must either have NASA level QA or never ship a product. Most software companies can't afford either of those.