Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 25 days agoCompareBooleanssh.itjust.worksimagemessage-square80fedilinkarrow-up172arrow-down10
arrow-up172arrow-down1imageCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 25 days agomessage-square80fedilink
minus-squareMaalus@lemmy.worldlinkfedilinkEnglisharrow-up0·25 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-up1·25 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.
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.