Python syntax in Lisp and Scheme

Andrew Dalke adalke at mindspring.com
Fri Oct 10 21:58:11 EDT 2003


Alex:
> Well, somebody once asked how
> a Pythonista would go about it -- and the answer was unanimous:
>     print "Just another Python hacker"

It wasn't unanimous.  I recall I posted something like

>>> class Write:
...  def __getattr__(self, word): print word,; return self
...  def __repr__(self): return ""
...
>>> Write().Just.another.Python.hacker
Just another Python hacker

>>>

  ;)

> My perhaps-not-extensive-enough experience with macros showed them
> being used to merge language and meta-language -- in widely different
> ways in different labs or even within a given lab -- while at the
> same time other firms were using languages without macros (APL and
> variants thereof) and processing them with different and separate
> metalanguages AND thereby managing to achieve better (intra-firm, at
> least) cooperation.

I rather like the phrase I used in private mail: supports mutliple language
paradigm instead of a multiple paradigm language.

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list