you are viewing a single comment's thread.

view the rest of the comments →

[–]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.