IO 😇@lemmy.blahaj.zone to Lemmy Shitpost@lemmy.worldEnglish · 5 days agomonumentalelemmy.blahaj.zoneimagemessage-square36fedilinkarrow-up1380arrow-down14
arrow-up1376arrow-down1imagemonumentalelemmy.blahaj.zoneIO 😇@lemmy.blahaj.zone to Lemmy Shitpost@lemmy.worldEnglish · 5 days agomessage-square36fedilink
minus-squareTheWonderfool@lemmy.worldlinkfedilinkarrow-up106·5 days agoAnd what’s beautiful is that the one right under has a comment “we don’t use thi…” This code looks like so much fun to debug…
minus-squareniartenyaw@midwest.sociallinkfedilinkEnglisharrow-up48·5 days agoi like to imagine it says we don’t use this, but if you delete it everything in this file breaks
minus-squareTaldan@lemmy.worldlinkfedilinkarrow-up17·5 days ago we don’t use this without first writing proper unit tests for our changes, integrating them with the regression tests, and thoroughly documenting our changes for the next developer that has to work on this I’m an optimist, and it’s technically possible
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up11·5 days agoOk cool now write some unit tests for a 13,000 line function 🙃
minus-squareBlackmist@feddit.uklinkfedilinkEnglisharrow-up22·5 days agoThere’s one I found today that just reads “this is a fucking abortion” I don’t remember doing it, but it was almost certainly me.
minus-squarechad@sh.itjust.workslinkfedilinkarrow-up3·4 days agoI would legit love to refactor that bad boy and get >95% code coverage. Put me in, coach!
And what’s beautiful is that the one right under has a comment “we don’t use thi…”
This code looks like so much fun to debug…
i like to imagine it says
I’m an optimist, and it’s technically possible
Ok cool now write some unit tests for a 13,000 line function
🙃
Load bearing code
There’s one I found today that just reads “this is a fucking abortion”
I don’t remember doing it, but it was almost certainly me.
I would legit love to refactor that bad boy and get >95% code coverage. Put me in, coach!