Kirill Balunov <kirillbalunov@gmail.com> writes:
> Since the proposed semantics is more similar to the idea of "or", may be it
> is better to consider something like:
>
> timeout then local_timeout then global_timeout
>
> I do not know how much this is a frequent case to be worthy of a keyword.
That sounds awkward... what about
timeout else local_timeout else global_timeout
instead?
I think then and else can be ruled out since they can be very confusing when used in a conditinal statement or a comprehension.
x = a if x else y else b # wait. what?
Elazar