A different concept should use different syntax -- and it looks like Rust has several new concepts where they can invent whatever syntax they want. But the same concept should use the same syntax.
A different concept should use different syntax -- and it looks like Rust has several new concepts where they can invent whatever syntax they want. But the same concept should use the same syntax.
`ret` is a non-local return, it's got nothing to do with `break` (which is a local return and the usual" break).
Also, `ret` is in line with the (unfortunate I think) systematic shortening of keywords in Rust: `fn`, `ret`, `mut`, `alt`, ...
And as p4lindromica notes, Ruby's `continue` is called `next`.
But the truth is that whatever the surface syntax is, one quickly gets used to it. What's more important are the core concepts at work.
NB. Since Perl 5.10 it does have continue & break in its given/when (topicalizer) switch block.