I'm not very familiar with Python at all, coming from C++ land. At first
glance, I must say that this seems totally backward and not desirable;
I'd wager any case where this for...else would come in handy has an
alternate design that is just as sexy (or more) and does not require the
pattern. That said, as a non-Python programmer, I may be missing out on
something lovely.
Jeaye
On Sat, Aug 10, 2013 at 11:22 AM, Michael Woerister
<michaelwoeris...@gmail.com <mailto:michaelwoeris...@gmail.com>> wrote:
On 08/10/2013 07:24 PM, Paul Nathan wrote:
On 8/10/13 7:10 AM, Simon Sapin wrote:
Hi,
Now that the for loop is based on external iterators, can
we reconsider
"for-else"?
Proposal:
for i in iter {
// ...
} else {
// ...
}
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev