Ok, so this should seem obvious and if I am insulting your intelligence by stating it, I am sorry. One of the main reasons I want to discuss this is, I was asked this exact question in a job interview for Lockheed Martin.
So, I though I’d start this series called Programming Tip Of The Day to write about useful things I come across in programming. Both to educate my readers and as a personal archive of ideas and tips.
I will kick it off today with a quick rant about the ternary operator. I <3 the ternary operator. It’s quick, efficient and saves a lot of ugly code.
