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/2005-March/051921.html below:

@deprecated (was Re: [Python-Dev] Re: Useful thread project for 2.5?)

@deprecated (was Re: [Python-Dev] Re: Useful thread project for 2.5?) @deprecated (was Re: [Python-Dev] Re: Useful thread project for 2.5?)Greg Ward gward at python.net
Wed Mar 9 03:24:35 CET 2005
On 08 March 2005, Michael Chermside said:
> Greg writes:
> > This is one of my top two Java features [1].
>           ...
> > [1] The other is compiler recognition of "@deprecated" in doc comments.
> 
> Hmm... what a good idea! Let's see... what exactly does "@deprecated" DO in
> Java? Why it causes the compiler to emit a warning if you use the function in
> question. Not a bad idea.

Isn't it, though?

> Amusingly enough, the syntax is even the same in
> Python:
[...code omitted...]

Cooool.  So simple, and yet so powerful.  One might even call it Pythonic!

> So... shall I go add this to the cookbook?

Hell yes!

        Greg
-- 
Greg Ward <gward at python.net>                         http://www.gerg.ca/
Always look on the bright side of life.
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