Sjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 20 days agoCompareBooleanssh.itjust.worksexternal-linkmessage-square96fedilinkarrow-up1505arrow-down19
arrow-up1496arrow-down1external-linkCompareBooleanssh.itjust.worksSjmarf@sh.itjust.works to Programming Humor@lemmy.worldEnglish · 20 days agomessage-square96fedilink
minus-squareaiden@lemm.eelinkfedilinkEnglisharrow-up50·20 days agoThis is code after working 16 hours
minus-squareMaalus@lemmy.worldlinkfedilinkEnglisharrow-up12arrow-down1·20 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·19 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.iolinkfedilinkarrow-up3·19 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