TehBamski@lemmy.world to Asklemmy@lemmy.ml · 6 months agoProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?message-squaremessage-square99fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?TehBamski@lemmy.world to Asklemmy@lemmy.ml · 6 months agomessage-square99fedilink
minus-squareSandbagTiara2816@lemmy.dbzer0.comlinkfedilinkarrow-up0·6 months agoGenuinely curious - what do we know makes code very bad?
minus-squarexJREB@lemmy.worldlinkfedilinkarrow-up0·6 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: