2 ms·
Never thought the ternary operator required high expertise for associativity/precedence reasons and could sentence me to "clever code"... Besides switch/case d
by illys 7y ago
Never thought the ternary operator required high expertise for associativity/precedence reasons and could sentence me to "clever code"...
Besides switch/case do not apply to a mix of true/false conditions but to the different values of a single variable.
Funny :-) Thanks.
- deng 7y ago> Never thought the ternary operator required high expertise for associativity/precedence reasons If you chain or nest them. > Funny :-) I'm glad I could brighten your day a little bit.