Aijan@programming.dev to Programming@programming.dev · 15 days agoSelf-documenting Codelackofimagination.orgexternal-linkmessage-square39fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkSelf-documenting Codelackofimagination.orgAijan@programming.dev to Programming@programming.dev · 15 days agomessage-square39fedilink
minus-squarehex@programming.devlinkfedilinkarrow-up0·14 days agoI mean, boolean short circuit is a super idiomatic pattern in Javascript
minus-squarearendjr@programming.devlinkfedilinkarrow-up0·14 days agoI think that’s very team/project dependent. I’ve seen it done before indeed, but I’ve never been on a team where it was considered idiomatic.
I mean, boolean short circuit is a super idiomatic pattern in Javascript
I think that’s very team/project dependent. I’ve seen it done before indeed, but I’ve never been on a team where it was considered idiomatic.