moosetwin@lemmy.dbzer0.com to 196English · edit-211 months agoAntimemes rulelemmy.dbzer0.comimagemessage-square35fedilinkarrow-up1224cross-posted to: antimeme@lemmy.world
arrow-up1224imageAntimemes rulelemmy.dbzer0.commoosetwin@lemmy.dbzer0.com to 196English · edit-211 months agomessage-square35fedilinkcross-posted to: antimeme@lemmy.world
minus-squareWirlockelinkfedilinkarrow-up5·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).