TehBamski@lemmy.world to Asklemmy@lemmy.ml · 8 months agoProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?message-squaremessage-square110fedilinkarrow-up1231arrow-down12
arrow-up1229arrow-down1message-squareProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?TehBamski@lemmy.world to Asklemmy@lemmy.ml · 8 months agomessage-square110fedilink
minus-squareSandbagTiara2816@lemmy.dbzer0.comlinkfedilinkarrow-up2·7 months agoGenuinely curious - what do we know makes code very bad?
minus-squarexJREB@lemmy.worldlinkfedilinkarrow-up3·7 months agoA few bad things in code for which we have fairly consistent evidence: high nesting depth meaningless or single-letter variable names lots of code duplication very inconsistent formatting very complicated Boolean conditions with AND and OR functions with a lot of parameters
Genuinely curious - what do we know makes code very bad?
A few bad things in code for which we have fairly consistent evidence: