Mike Berrow wrote: > That is apparently a matter of opinion. > I find the single line alternative clear, concise and quite beautiful. > It reads just like a sentence for me. > > The 9-line alternative is annoyingly verbose and just burns vertical > space. > That style has me paging up and down or reaching for the scroll bar more > often. > Having to do that does not make the code easier to read in my opinion. > When you have to debug or maintain multiply nested ?: logic you will find yourself questioning the parentage of the original programmer. ?: is useful to keep minor details from getting verbose, nested ?: is the path to madness.