A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032539.html below:

[Python-Dev] Extended Function syntax

[Python-Dev] Extended Function syntax [Python-Dev] Extended Function syntaxMichael Hudson mwh@python.net
Thu, 30 Jan 2003 13:27:08 +0000
Guido van Rossum <guido@python.org> writes:

> [me]
>> def foo [property]:
>>     ...
>> 
>> anyone?  Probably relying on the difference between [ and ( kills it.
>
> Yes.
>
> How about
>
>   foo = property:
>       ...

Well on a purely instinctive level, I think it's horrible.

What does it do?  I seem to have missed a concise explanation, and
a few minutes of thread trawling hasn't found one.

In general I agree with Samuele: aiming for a one size fits all
sysntactic extension is fruitless unless it's essentially macros and I
thought consesnus was we didn't want them.

Cheers,
M.

-- 
  languages shape the way we think, or don't.
                                        -- Erik Naggum, comp.lang.lisp



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