moosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-29 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square34fedilinkarrow-up1221arrow-down10
arrow-up1221arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-29 months agomessage-square34fedilink
minus-squareWirlocke@lemmy.blahaj.zonelinkfedilinkarrow-up4·edit-29 months agoI feel like I’d use Allman for large blocks of code (though in those situations it’s probably better to stick the code in a function first) and I’d use K&R for 1 or 2 lines of code (like calling a function).
I feel like I’d use Allman for large blocks of code (though in those situations it’s probably better to stick the code in a function first) and I’d use K&R for 1 or 2 lines of code (like calling a function).