3 ms·
Near the end of the article: These kinds of incidents make us wonder the real cost of Code and the more real cost of messing up Imagine having an app about the
by iliketosleep 7y ago
Near the end of the article: These kinds of incidents make us wonder the real cost of Code and the more real cost of messing up
Imagine having an app about there ticking away and making pretty decent revenue. Little do you know there's a subtle error in business critical code (e.g. in-app purchases, ads, etc), reducing the revenue by over 50%. This is something I've seen first-hand and have become quite paranoid about. I suspect that it happens a lot. The reality is, no matter how many times one looks at their own code, there is no substitute for continuous testing of typical use cases in a production environment, ensuring that business critical code functions as expected. It's a continious process, because even if the code works properly at the beginng and isn't modified, the underlying OS or API's it interacts with can change and introduce unexpected behaviour.
- tehlike 7y agoI suspect this happens quite often. There are ways to mitigate this: 1. Instrument, monitor, alert 2. Experiment, and convert canaries to experiments.
- opportune 7y agoThis is why software asks you for usage data
- lallysingh 7y agoAdd instrumentation. At some point in the code, the data before the bug won't line up with the data after. Watch the metrics and make sure they make sense. Validate the theories your have about what you think users are doing.
- kaicianflone 7y agoRE: Indie Devs shouldn't short on QA
- mcv 7y agoI've worked for a company that went bankrupt over some accounting system they'd built and used themselves. It contained a subtle bug that made them think they had more money than they had. It's really vital to thoroughly test and verify any financial code. Any code, but financial doubly so. And do it again in production. Even small errors can really add up over time.
- raverbashing 7y agoYes, testing is important but also sanity checking and in-flight checks as well Why are you getting declined transactions? Why are you getting chargebacks? Are we getting one transaction per sale?