Antimemes rulelemmy.dbzer0.comimage moosetwin ( @moosetwin@lemmy.dbzer0.com ) 196@lemmy.blahaj.zoneEnglish • edit-28 months ago message-square13fedilinkarrow-up1135
arrow-up1135imageAntimemes rulelemmy.dbzer0.com moosetwin ( @moosetwin@lemmy.dbzer0.com ) 196@lemmy.blahaj.zoneEnglish • edit-28 months ago message-square13fedilink
minus-square Wirlocke ( @Wirlocke@lemmy.blahaj.zone ) linkfedilink4•edit-28 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).