MRAB <pyt...@mrabarnett.plus.com>:

> On 2016-08-17 19:39, Random832 wrote:
>> Why not just if(cond, trueval, falseval), a la Visual Basic?
>
> Well, it looks too much like a function call, which don't
> short-circuit.

Well, in Scheme, everything looks like a function call:

    (define (deflate x)
      (if (> 0 x)
          (1+ x)
          (1- x)))


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to