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/2002-March/021377.html below:

[Python-Dev] A Hygienic Macro System in Python?

[Python-Dev] A Hygienic Macro System in Python? [Python-Dev] A Hygienic Macro System in Python?Jeremy Hylton jeremy@zope.com
Mon, 18 Mar 2002 16:24:47 -0500
On Mon, 18 Mar 2002 16:10:40 -0500
 Tom Emerson <tree@basistech.com> wrote:
> I find using 'unless' makes some things more readable. To
> learn the
> internals of the compiler I've been adding an unless
> statement to
> Python, but one shouldn't need to do this in order to add
> useful
> constructions like this.

Funny you should pick this example!  I have been struggling
with a collection of C code where the author used an
UNLESS() macro.  I find it obscures the program logic
significantly.  In part, I'm sure it's because I don't use
it in any of my own C code, so it's an oddball control flow
constructs to my eyes.  I'm not sure that I'd like to see
Python programmers acquire to many ways to spell if :-).

Jeremy



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