From: Tim Hunter Date: 2007-03-16T00:35:14+09:00 Subject: Re: What does this do? : John Joyce wrote: > one of the less lovely things to read in C like languages, but after > you get used to it, it is actally a space saver. > It is relly just an conditional with two possible outcomes In C the ?: operator is useful when writing macros since it's an expression, as opposed to if/then, which is a statement. (Unlike Ruby.) The ?: operator has been terribly abused, though, by people who believe that you can make a program run faster by taking out whitespace. -- Posted via http://www.ruby-forum.com/.