r/shittyprogramming • u/calsosta • Feb 07 '20
Technical Debt Forgiveness Thread
There has been a lot of news lately about non-profits forgiving different types of debt (for instance medical debt) on behalf of people. So me and the /r/shittyprogramming mods would like to forgive your technical debt!
Whether you borrowed a function from a friend or have a technical jumbo mortgage you are under water on - we can help!
Simply list your debt in this thread, and you will be granted immunity from any repercussions.
190
Upvotes
127
u/billy_tables Feb 07 '20
I once worked on a codebase where all functions returned void and wrote their results to a file, and the calling function read the results from a file and wrote its own results to a file. The only method with a return value was `main`. It was written this way "for performance"
57
u/coding9 Feb 07 '20
I made a single page app in react last year. At one point I couldn’t build it anymore. Running webpack segfaulted every time due to having 32mb of node modules.
So I decided to download the current site’s webpack files over ftp and have been adding features to the compiled code manually ever since.
I am a bit worried if my boss hires another developer because I’m not sure how to handle code reviews now. Any advice?
22
u/shatteredarm1 Feb 07 '20
We have hardly any automated unit tests for the app I'm building.
21
u/JeffSergeant Feb 07 '20 edited Feb 07 '20
Is there an equivalent 'Technical Equity Release' scheme for people who don't have much technical debt but need cash quick?
19
u/UnspeakableEvil Feb 07 '20
I've declared technical bankruptcy, and I must say it's been a liberating experience.
16
u/OmegaNaughtEquals1 Feb 07 '20
I feel like OP is like Salieri at the end of Amadeus absolving us of our mediocrity.
13
u/jaynator495 Feb 07 '20
I test in production and have no unit tests, only a few months ago did I finally spin up a test server and set up version control via github
9
u/maweki Feb 07 '20
For my dissertation I am writing a compiler in Haskell. And my architecture is pretty shit and I am just hoping against all odds that it will support all the stuff I am writing my thesis about.
I need this debt to be forgiven. Really.
7
u/[deleted] Feb 08 '20
Not exactly mine, but at work… a piece of medical software written in the 90s, running as stable as a jenga tower after round 20 and most functions could be posted in r/agedlikemilk
0
u/[deleted] Feb 07 '20
[deleted] — view deleted comment
0
u/[deleted] Feb 08 '20
[deleted] — view deleted comment
0
u/[deleted] Feb 08 '20
[deleted] — view deleted comment