Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 3 days agoCompareBooleanssh.itjust.worksimagemessage-square96fedilinkarrow-up1509arrow-down19
arrow-up1500arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 3 days agomessage-square96fedilink
minus-squareMaalus@lemmy.worldlinkfedilinkEnglisharrow-up12arrow-down1·3 days agoI’d give my right hand this is a code review problem. Someone extracted a method returning true false. Then an intern came along and was told to refactor. They saw a lot of comparisons and “extracted” them.
minus-squareim sorry i broke the code@sh.itjust.workslinkfedilinkEnglisharrow-up7·3 days agoMy coworker made an array of book to express a status. This is no doing of an intern but a much eviler force at play.
minus-squaresubignition@fedia.iocakelinkfedilinkarrow-up3·3 days agoI’ve heard of shared libraries, but this is ridiculous
This is code after working 16 hours
I’d give my right hand this is a code review problem. Someone extracted a method returning true false. Then an intern came along and was told to refactor. They saw a lot of comparisons and “extracted” them.
My coworker made an array of book to express a status. This is no doing of an intern but a much eviler force at play.
I’ve heard of shared libraries, but this is ridiculous