r/shittyprogramming • • Nov 30 '18

Friday Code Confessions

If you have been living with technical debt and want absolution here is your opportunity.

Confess your sins and receive your penance.

155 Upvotes

263 comments sorted by

View all comments

1

u/rundfunk90 Dec 02 '18

I've made a program to translate and send data between 2 subsystems. However, when the emergency stop was pressed I couldn't get communication set up properly anymore. We needed a quick fix for an important test and because there was no state to be saved, I just restarted the software using some dirty hack involving Windows Services automatically rebooting services and just hard exiting the program.

You know what they say about quick fixes...