A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-June/080385.html below:

[Python-Dev] Python FAQ: Why doesn't Python have a "with" statement?

[Python-Dev] Python FAQ: Why doesn't Python have a "with" statement? [Python-Dev] Python FAQ: Why doesn't Python have a "with" statement?Cesare Di Mauro cesare at pronto.it
Sat Jun 14 22:20:44 CEST 2008
In data 14 giugno 2008 alle ore 22:09:56, Martin v. Löwis <martin at v.loewis.de> ha scritto:

> No, not at all. I actually *like* having to specify the object on a
> method call. I find C++/Java code very hard to read which invokes a
> method without specifying this. infront of the call - in particular
> when you are unfamiliar with the class hierarchy you are looking at.
> (due to late binding, it is still difficult to find out what specific
> method is being called, but atleast you can be certain it's a method,
> and you might even have a clue what the dynamic type of the object
> is).
>
> So I think the FAQ should continue to claim that Python cannot grow
> a Pascal-like with statement.
>
> Regards,
> Martin

OK. It was just an idea...

Thanks

Cesare Di Mauro
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4