Ary Borenszweig wrote:
Andrei Alexandrescu wrote:
Nick Sabalausky wrote:
"Leandro Lucarella" <llu...@gmail.com> wrote in message
news:20090518141908.gb9...@burns.springfield.home...
bearophile, el 18 de mayo a las 04:33 me escribiste:
Andrei, I agree that "with" is dangerous when it shadows outer names
(Python designers have not added a "with" because of this).
They did, but with different semantics =)
It's used for RAII (I guess you already know that, but maybe other
people
don't).
You mean like C#'s "using"?
What a God awful feature. Honestly, "what were they sinking about?"
People who explained that C# is cool - please explain this one.
Andrei
http://msdn.microsoft.com/en-us/library/aa664736.aspx
I meant: "explain what were they sinking about when they designed this
awful feature", not "explain this awful feature in detail". I know the
feature, and that doesn't help its case.
Andrei