TJ
I've never dealt with short circuiting before but ternary operators are difficult for the eye when debugging which is why I think switch or if else statements are best. Easier to spot three lines and understand the logic then spot one in thousands of lines of code. just my opinion:)
ReplyThreadNov 14, 20151Do you think good programmers don't use else clause? In case you avoid else, what's your reason?