cantankerous_cashew@lemmy.world to Programmer Humor@lemmy.ml · 2 days agoIn case you've ever wondered why the Windows control panel was so awful...lemmy.worldimagemessage-square57fedilinkarrow-up10arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up10arrow-down1imageIn case you've ever wondered why the Windows control panel was so awful...lemmy.worldcantankerous_cashew@lemmy.world to Programmer Humor@lemmy.ml · 2 days agomessage-square57fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareessteeyou@lemmy.worldlinkfedilinkarrow-up0·20 hours agoCopying and pasting a current example and changing the names… yep. Instead of making it worse you could extract it to a new file. Make an interface. Write a unit test. Anything. The guy wonders why the file is 15k lines long and then describes exactly why.
minus-squarezalgotext@sh.itjust.workslinkfedilinkarrow-up0·5 hours agoRight? Like my dude, bare minimum at least write down those steps in a text document so you can reference it the next time you have to add something. Bonus points for putting it on some shared internal wiki or whatever Microsoft uses.
Copying and pasting a current example and changing the names… yep.
Instead of making it worse you could extract it to a new file. Make an interface. Write a unit test. Anything.
The guy wonders why the file is 15k lines long and then describes exactly why.
Right? Like my dude, bare minimum at least write down those steps in a text document so you can reference it the next time you have to add something. Bonus points for putting it on some shared internal wiki or whatever Microsoft uses.