Load bearing code
Comment on monumentale
niartenyaw@midwest.social 3 weeks agoi like to imagine it says
we don’t use this, but if you delete it everything in this file breaks
RaivoKulli@sopuli.xyz 2 weeks ago
gandalf_der_12te@discuss.tchncs.de 2 weeks ago
the function never gets called, but the running code reads the source code of this function to extract important constants, and if you delete the function, everything breaks :)
Taldan@lemmy.world 3 weeks ago
I’m an optimist, and it’s technically possible
gravitas_deficiency@sh.itjust.works 3 weeks ago
Ok cool now write some unit tests for a 13,000 line function
🙃
pulsey@feddit.org 2 weeks ago
randomize input parameters and see if it doesnt crash. Do this 1000 times. If it never crashes, it works. 👍
/s