A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/069745.html below:

Named code blockes

Named code blockes Named code blockesJames_Althoff at i2.com James_Althoff at i2.com
Mon Apr 23 19:49:01 EDT 2001
Alex Martelli writes:

Sure, naming something and passing the name as a stand-in
for the thing itself IS syntax at some level.  So what?  Do you
often use, say, unnamed classes, or modules, or attributes of
class instances, or feel that being able to leave them unnamed
would be "a very powerful programming device" wrt having
to name them?!  So what's so different about code blocks...?


Alex


<jim response>

In Java unnamed (anonymous, inner) classes
are used all over the place in Swing-GUI code.
Not advocating -- just pointing it out.  :-)

</jim response>




More information about the Python-list 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