In my previous installments, I showed you how a little bit of cosmetic change in the layout of your source code can dramatically improve readability and how tiny changes in your habits can truly affect overall code safety. In that vein, let’s continue and take this a little bit further by visiting Ternary Operators.
One, or the other
Ternary operators exist in almost every programming language in one form or another. They are essentially an expression that says “If it’s this, do the follow...
Published on May 18, 2022 12:44