From: William Djaja Tjokroaminata Date: 2002-09-11T00:14:08+09:00 Subject: Re: Ruby aesthetics Just FYI, the Python way to do the short condition like below is if !condition: statement And we can see how Python is really consistent in terms of code layout that the "if" is always in front; there are not so many ways on how to layout a code in Python. Regards, Bill ========================================================================== dblack@candle.superlink.net wrote: > For example, I like the: > statement unless condition > idiom, at least for short statements and conditions, at least in some > cases. I'm glad it exists in Ruby, and it's actually the place where > I'm most likely to use "unless". But putting "unless" in C, via a > macro, does not mean that C can do what this idiom does, by way of > expressiveness (in my opinion).