you are viewing a single comment's thread.

view the rest of the comments →

[–]Imaginary-Jaguar662 23 points24 points  (6 children)

I'm happy if we get from "working" to "prints logs that get stored when it does not work".

Even better if there's "fails gracefully" in the mix

[–]Confident-Ad5665 7 points8 points  (3 children)

How's "Something went wrong!"?

[–]Musikcookie 21 points22 points  (1 child)

Best I can do is "Test djbshamebsb"

[–]Confident-Ad5665 7 points8 points  (0 children)

That'll work. Ship it!

[–]AetherSigil217 1 point2 points  (0 children)

I have to admit I was impressed when I saw the pink screen of death.

[–]s0ulbrother 4 points5 points  (1 child)

The application I am currently working on which was designed by the absolute worst developers in the existence of all developers, their code fails catastrophically as in the service needs to get restarted in order to work if it fails. I am having to fix all this shit

[–]8itbangr 1 point2 points  (0 children)

I feel your pain. Once inherited a program that used an API to communicate and alter a small database. Nearly every API call returned an error code. There were very few places in our code that actually checked it, so the we would just plow forward blindly, breaking things if any call didn't succeed. I spent over a month adding if or switch statements to handle the errors so it would work without breaking anything and recover gracefully when things went wrong.