D vs C++
bearophile
bearophileHUGS at lycos.com
Sun Dec 26 09:05:58 PST 2010
Jonathan M Davis:
> and the labeled break and continue in D just makes them that
> much better,
I agree that D labeled break and continue are nice to have, I miss them in Python :-)
In Python where you need a labeled break you sometimes have to replace the whole block of code with a function and replace the labeled break with a return statement (on the other hand some people say this forces you to write shorter functions and more readable code).
Bye,
bearophile
More information about the Digitalmars-d
mailing list