moosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-211 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square33fedilinkarrow-up1215arrow-down11cross-posted to: [email protected]
arrow-up1214arrow-down1imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196@lemmy.blahaj.zoneEnglish · edit-211 months agomessage-square33fedilinkcross-posted to: [email protected]
minus-squareWirlocke@lemmy.blahaj.zonelinkfedilinkarrow-up4·edit-211 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).