ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agoUncle Bob becoming even worse:lemmy.worldimagemessage-square231linkfedilinkarrow-up1550arrow-down112
arrow-up1538arrow-down1imageUncle Bob becoming even worse:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square231linkfedilink
minus-squarepivot_root@lemmy.worldlinkfedilinkarrow-up19·1 month agoPeople don’t like tracing what something is doing across seven 12-line functions spread through multiple files?
minus-squareFeyd@programming.devlinkfedilinkarrow-up11·1 month agoThe code had the single responsibility to waste your time
minus-squarePrunebutt@slrpnk.netlinkfedilinkarrow-up8·1 month agoHe’d probably say that 12 lines is waaaay too much!
minus-squarevanillama@programming.devlinkfedilinkarrow-up3·1 month agoYeah, he’d break it into 12 methods that call each other one after the other instead
minus-squareNoxy@pawb.sociallinkfedilinkEnglisharrow-up3·1 month agoWhat suggestion of his is related to that, just out of sheer curiosity?
minus-squarecbazero@programming.devlinkfedilinkarrow-up4·1 month 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?
The code had the single responsibility to waste your time
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
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).
that’s kinda silly!!