I d prefere letting do launch tasks and don t add confusion.

Break and continue are consistent with other langages so i would keep them.
 Le 19 nov. 2013 12:19, "spir" <denis.s...@gmail.com> a écrit :

> On 11/19/2013 12:09 PM, Daniel Micay wrote:
>
>> The `loop` keyword still exists for the moment, but only for infinite
>> loops. I'd prefer removing it and just using `while true { ... }`.
>>
>
> My view on conditionned loop is something like:
>
> loop [while cond] {
>     ...
>     [continue if cond]
>     ...
>     [break if cond]
>     ...
> } [until cond]
>
> An infinite loop is just when there is neither start, nore end condition.
>
> Or replace "loop" with "do" (only for brevity), "continue" with "next" or
> "up", "break" with "exit" or "out" (the latter 2 for clarity).
>
> Denis
> _______________________________________________
> Rust-dev mailing list
> Rust-dev@mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to