3 ms·
"Fail fast, fail often" does not refer to the build status of your project, it refers to the business. How does writing code that builds hide bugs?
by pc86 10y ago
"Fail fast, fail often" does not refer to the build status of your project, it refers to the business.
How does writing code that builds hide bugs?
- snarfy 10y agoFail fast, fail often isn't just about the business. It's about code too. If the palindrome function does not support unicode correctly, it can: 1. Try to function anyway, return true/false even without a real match 2. Detect unicode and always return false 3. Throw an exception It would be best to throw an exception. Why is a function that doesn't support unicode being called with unicode input? That's the real error.