moosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-27 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square35fedilinkarrow-up1220arrow-down10
arrow-up1220arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-27 months agomessage-square35fedilink
minus-squareWirlocke@lemmy.blahaj.zonelinkfedilinkarrow-up5·edit-27 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).