Re: This is kind of cool
Lenard Lindstrom <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <Mahogany-0.66.0-4294685659-20040623-121008.00@pop3.norton.antivirus> |
On Wed, 23 Jun 2004 00:51:29 -0700 Paul Prescod <[email protected]> wrote: > So I went to a talk today at my local XML user's group meeting. There > were two intersting bits. The first was that the speaker actually spoke > mostly about programming languages and very little about XML. The second > was the reference programming language he used was Python. He referred > several times to stackless and said it was good stuff (even if not a new > idea). As an aside, he was very much in favour of meta-language like > features like continuations and operator overloading. But anyhow he says > he was annoyed by a case when he had to change a Python function into a > class because he couldn't do operator overloading on functions. If only > he had been using Prothon! > > def foo(): > return 3 > > def foo.add_(other): > return 2 + other > > print foo + foo() > Several times the subject of Python functions not being subclassable has come up on comp.lang.python. I even wrote a Python 2.3.3 patch to allow it and announced it on python.announce. I do not think anyone noticed. But Prothon is more flexible in this matter. Lenard Lindstrom <[email protected]>