Posts Tagged ‘ternary operators’

|

Ternary Operators

Monday, April 19th, 2010

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:

(more…)

Tags: , , ,
Posted in Programming, Tutorial | 5 Comments »