[Solved] Shorthand for if(true){doStuff()}?


Just about the only one you’ve left off is the braces-free if:

if (isTireFlat) fixTire();

Please note that this isn’t intended as advocating doing it. Just pointing out the option that you didn’t already have covered.

3

solved Shorthand for if(true){doStuff()}?