Silvan:
> Nested trinary operators?  WTF?!  You can do that?  I didn't even know that 
> was legal.

Yep, that's mine.  I do that quite often.  It's more 
expressive than the equivalent string of ifs, because 
it's clear that it's a single value under alternation 
rather than a whole expression.  To me, that makes 
it clearer rather than less clear. 

Of course it's harder to read if you're not familiar 
with it, but that's true of most syntax, and C++ has 
a lot of that.  At least this one is only C.


Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to