Aijan@programming.dev to Programming@programming.dev · 9 days agoSelf-documenting Codelackofimagination.orgexternal-linkmessage-square72fedilinkarrow-up1102arrow-down116cross-posted to: hackernews@lemmy.bestiver.se
arrow-up186arrow-down1external-linkSelf-documenting Codelackofimagination.orgAijan@programming.dev to Programming@programming.dev · 9 days agomessage-square72fedilinkcross-posted to: hackernews@lemmy.bestiver.se
minus-squarerooster_butt@lemm.eelinkfedilinkarrow-up3·8 days agoShort circuiting conditions is important. Mainly for things such as: if(Object != Null && Object.HasThing) … Without short circuit evaluation you end up with a null pointer exception.
Short circuiting conditions is important. Mainly for things such as:
Without short circuit evaluation you end up with a null pointer exception.