Posted by : Chris London in (Programming, Tutorial)

Ternary Operators

Tagged Under : , , ,

If you don’t know what ternary operators are then you are missing out! The day I learned about ternary operators I nearly passed out. There are so many wasted lines of code if you don’t know about them. This is what a standard if ... else ... statement looks like using C, Obj-C, C++, C#, Java, or JavaScript:

Read the rest of this entry »