elements of decorator syntax suggestions

Anthony Baxter anthonybaxter at gmail.com
Sun Aug 8 04:20:55 EDT 2004


On Sat, 07 Aug 2004 23:52:24 -0700, Erik Max Francis <max at alcyone.com> wrote:
> @ sure takes up more visual space and is easier to spot in text than |,
> which is precisely why I used it in EmPy as the token prefix (also
> because @ at the time is neither commonly used in English text or legal
> in Python, though the latter will be changing).

The far-more-obvious-in-code is my reason for preferring @ over |. 

The other point that's been raised is that | looks similar to l and I
in a bunch of fonts, and I is a common prefix (for interfaces).



More information about the Python-list mailing list