r/devtools • u/Ok-Emu-8106 • Sep 24 '26
What's the worst code you've seen when taking over a project?
Collecting stories for some content, but genuinely curious to hear these too.
Mine: database passwords sitting right in the commit history, in plain text, never even rotated after the project changed hands.
What's the worst thing you've found taking over someone else's project? Doesn't have to be security related, could be architecture, could just be total chaos in the file structure.
1
Upvotes
1
u/Klutzy-Procedure8980 Sep 27 '26
"Worst"is maybe unfair, but it did drive me crazy:
There was this metrics analysis pipeline I was asked to help fix. It was full of abbreviations for internal metrics, and it was full of functions with names like
computeXDJABENFJSNS()with no explanation whether this was "compute XDJ ABENF JSNS" or "compute XD JAB ENF JS NS" or something else.Took me weeks to disentangle what the symbols meant... and since then I'm on team "strict camelCase" with an allergic reaction to names like
serveHTTP:)