Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
I'm rewriting this horrendous piece of software that's like, real ugly, I mean, seriously ugly. A non stop mess of global variables and aliases and logical tantrums and fuck I know what else...
That's until today.
Today, after a ton of time spent clenching 2k LOC of ASS into readable 1.2k LOC, all tests passing, and passing faster if I may...
Then came a horrifying realization...
It downed on me, harder than a naked superman for a young Louis Lane
Tha maybe, just maybe, if them codes 's só shitty then probably so is them tests
So I tried deleting a obviously important conditional and to my dismay... oh boy, tests kept passing
...
rant