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