Short Circuit use && just check first condition and decide the outcome whereas & will evaluate all and conditions. Non short circuit may increase cyclomatic complexity.
#csharp Short circuiting logic condition vs Non Short circuiting logic condition— San (@santoshpoojari3) April 19, 2020
Short Circuit : &&
Non Short Circuit : &
Short Circuit : ||
Non Short Circuit just : |#programming #programmer #Coding #100DaysOfCode #code #CodeNewbie pic.twitter.com/7lJQMQNTgB
No comments :
Post a Comment