JackbyDev@programming.dev to Programming@programming.devEnglish · 3 months agoIt's probably time to stop recommending Clean Code @ Things Of Interestqntm.orgexternal-linkmessage-square27fedilinkarrow-up11arrow-down11file-text
arrow-up10arrow-down1external-linkIt's probably time to stop recommending Clean Code @ Things Of Interestqntm.orgJackbyDev@programming.dev to Programming@programming.devEnglish · 3 months agomessage-square27fedilinkfile-text
Seeing that Uncle Bob is making a new version of Clean Code I decided to try and find this article about the original.
minus-squareKache@lemm.eelinkfedilinkarrow-up1·edit-23 months agoI really dislike code like that. Code like that tends to lie about what it says it does and have non-explicit interactions/dependencies. The only thing I can really be certain from that is: doAnything(); if(doAnything2()) { doAnything3(); } I.e. almost nothing at all because the abstractions aren’t useful.
minus-squareKogasa@programming.devlinkfedilinkarrow-up0·3 months agoYou realize this is just an argument against methods?
minus-squareKache@lemm.eelinkfedilinkarrow-up1·3 months agoAll methods? Of course not. Just methods like these.
I really dislike code like that. Code like that tends to lie about what it says it does and have non-explicit interactions/dependencies.
The only thing I can really be certain from that is:
doAnything(); if(doAnything2()) { doAnything3(); }
I.e. almost nothing at all because the abstractions aren’t useful.
You realize this is just an argument against methods?
All methods? Of course not. Just methods like these.