News for hackers. Stuff that matters.
Re:Clear is better than clever [pdf] by illys on Monday May 06, 2019 @09:20AM (#19839126)
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.

Re:Clear is better than clever [pdf] by deng on Monday May 06, 2019 @11:28AM (#19840289)
> 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.