pnutzh4x0r@lemmy.ndlug.org to Programming@programming.devEnglish · 1 year agoLinear code is more readableblog.separateconcerns.comexternal-linkmessage-square43fedilinkarrow-up1128arrow-down114
arrow-up1114arrow-down1external-linkLinear code is more readableblog.separateconcerns.compnutzh4x0r@lemmy.ndlug.org to Programming@programming.devEnglish · 1 year agomessage-square43fedilink
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up1·1 year agoYou can always extract out the linear code when it actually becomes useful. It’s much easier to refactor when needed.
minus-squareDark ArcAlinkfedilinkEnglisharrow-up4·1 year agoI disagree, by the time you find you “need to” it’s often already tangled.
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up1arrow-down2·1 year agoLinear code is almost always easier to refactor than code split into functions
minus-squareDark ArcAlinkfedilinkEnglisharrow-up4·1 year agoYeah I’m going to hard disagree with you on that.
You can always extract out the linear code when it actually becomes useful. It’s much easier to refactor when needed.
I disagree, by the time you find you “need to” it’s often already tangled.
Linear code is almost always easier to refactor than code split into functions
Yeah I’m going to hard disagree with you on that.