moosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-210 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square35fedilinkarrow-up1224arrow-down10cross-posted to: [email protected]
arrow-up1224arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-210 months agomessage-square35fedilinkcross-posted to: [email protected]
minus-squareWirlocke@lemmy.blahaj.zonelinkfedilinkarrow-up5·edit-210 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).