Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 8 months agoCompareBooleanssh.itjust.worksimagemessage-square79fedilinkarrow-up174arrow-down10
arrow-up174arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 8 months agomessage-square79fedilink
minus-squareMaalus@lemmy.worldlinkfedilinkEnglisharrow-up0·8 months 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-up1·8 months 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.
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.