Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 9 months agofuck the testslemmy.dbzer0.comimagemessage-square44fedilinkarrow-up1858arrow-down111
arrow-up1847arrow-down1imagefuck the testslemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 9 months agomessage-square44fedilink
minus-squareRagingRobot@lemmy.worldlinkfedilinkarrow-up39·9 months agoTests are just booby traps for the other engineers so they don’t break your code by mistake.
minus-squareDacoTaco@lemmy.worldlinkfedilinkarrow-up13·edit-29 months agoIts funny cause its true. I often design tests to be “if a case/enum value is added this test will explode and tell them to add code here”
minus-squaresilasmariner@programming.devcakelinkfedilinkarrow-up8·9 months agoThis is why I like strong type systems with exhaustivity checks
minus-squareDacoTaco@lemmy.worldlinkfedilinkarrow-up2·edit-29 months agoSaaaaame. But sometimes even strongly typed stuff wont break on compilation time
minus-squaresilasmariner@programming.devcakelinkfedilinkarrow-up1·9 months ago'spose that’s true enough
Tests are just booby traps for the other engineers so they don’t break your code by mistake.
Its funny cause its true. I often design tests to be “if a case/enum value is added this test will explode and tell them to add code here”
This is why I like strong type systems with exhaustivity checks
Saaaaame. But sometimes even strongly typed stuff wont break on compilation time
'spose that’s true enough