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