ZILtoid1991 to Programmer Humor@programming.dev · 1 day agoUncle Bob becoming even worse:imagemessage-square196linkfedilinkarrow-up1454arrow-down18
arrow-up1446arrow-down1imageUncle Bob becoming even worse:ZILtoid1991 to Programmer Humor@programming.dev · 1 day agomessage-square196linkfedilink
minus-squarepivot_rootlinkfedilinkarrow-up18·21 hours agoPeople don’t like tracing what something is doing across seven 12-line functions spread through multiple files?
minus-squarePrunebutt@slrpnk.netlinkfedilinkarrow-up8·18 hours agoHe’d probably say that 12 lines is waaaay too much!
minus-squarevanillama@programming.devlinkfedilinkarrow-up2·17 hours agoYeah, he’d break it into 12 methods that call each other one after the other instead
minus-squareFeyd@programming.devlinkfedilinkarrow-up11·20 hours agoThe code had the single responsibility to waste your time
minus-squareNoxy@pawb.sociallinkfedilinkEnglisharrow-up3·18 hours agoWhat suggestion of his is related to that, just out of sheer curiosity?
minus-squarecbazero@programming.devlinkfedilinkarrow-up3·16 hours agoHe says a function should never be longer than 4 lines (in his Clean Code book).
People don’t like tracing what something is doing across seven 12-line functions spread through multiple files?
He’d probably say that 12 lines is waaaay too much!
Yeah, he’d break it into 12 methods that call each other one after the other instead
The code had the single responsibility to waste your time
What suggestion of his is related to that, just out of sheer curiosity?
He says a function should never be longer than 4 lines (in his Clean Code book).