ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 10 hours agoUncle Bob becoming even worse:lemmy.worldimagemessage-square127fedilinkarrow-up1288
arrow-up1288imageUncle Bob becoming even worse:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 10 hours agomessage-square127fedilink
minus-squareUnderpantsWeevil@lemmy.worldlinkfedilinkEnglisharrow-up9·4 hours agoDesigning your unit tests before you’ve written your algorithm is - in my experience - a bit ass backwards.
minus-squarevanillama@programming.devlinkfedilinkarrow-up3·2 hours agoAgreed, you find the right shape for the code as you build and try stuff, adding the tests right after makes most sense, unless maybe you’re just testing an API or something
Designing your unit tests before you’ve written your algorithm is - in my experience - a bit ass backwards.
Agreed, you find the right shape for the code as you build and try stuff, adding the tests right after makes most sense, unless maybe you’re just testing an API or something