lysdexic@programming.dev to Programming@programming.devEnglish · 2 months agoMistakes engineers make in large established codebaseswww.seangoedecke.comexternal-linkmessage-square19fedilinkarrow-up154arrow-down12
arrow-up152arrow-down1external-linkMistakes engineers make in large established codebaseswww.seangoedecke.comlysdexic@programming.dev to Programming@programming.devEnglish · 2 months agomessage-square19fedilink
minus-squareprojectmoon@lemm.eelinkfedilinkarrow-up26·2 months agoThis guy would fit in well at my previous job where the founder discouraged writing unit tests because “there are too many scenarios to test.” Like, wtf…
minus-squareBrianTheeBiscuiteer@lemmy.worldlinkfedilinkarrow-up8·2 months agoIt’s been the hardest thing for me to instill good testing practices in devs. In a function with 23 paths devs usually burnout and only do 9 or 10. Most never consider that making the function smaller is an option.
minus-squareprojectmoon@lemm.eelinkfedilinkarrow-up4·2 months ago1 scenario tested is better than 0 tested.
This guy would fit in well at my previous job where the founder discouraged writing unit tests because “there are too many scenarios to test.”
Like, wtf…
It’s been the hardest thing for me to instill good testing practices in devs. In a function with 23 paths devs usually burnout and only do 9 or 10. Most never consider that making the function smaller is an option.
1 scenario tested is better than 0 tested.
Stroke of genius 🤣🤣🤣