Hi,
The biggest hassle with this sort of abbreviated code is it may scare some noobs away.
I don't code like that, I had to go looking to check how to fully interpret it.
I prefer my code to be self explanatory as possible, so a one line If statement doesn't do that readily in my opinion.
Does the shorter code compile to any smaller assembly code?
JCA34F:
Probably, but if they don't learn things like this, they'll always be newbies.
Nonsense: sometimes doing things the "long" way is the "right" way.
Most of the time, writing code like that is just to show others that you know how. It serves no purpose whatsoever in making the code readable (on the contrary, in fact) and probably makes it no quicker or smaller.