[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ternary operator patch
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 10 Sep 2010 07:56:11 +0200
On Fri, Sep 10, 2010 at 3:04 AM, Ryota Hirose <hirose.ryota@gmail.com> wrote:
> a = if x == y then good() else bad()
Why not the good old-fashioned a = x == y and good() or bad() ?
steve d.