Python from Wise Guy's Viewpoint

Joachim Durchholz joachim.durchholz at web.de
Sat Oct 25 11:07:46 EDT 2003


Marshall Spight wrote:

> <prunesquallor at comcast.net> wrote in message news:wuaufe52.fsf at comcast.net...
> 
>>"Marshall Spight" <mspight at dnai.com> writes:
>>
>>(defun noisy-apply (f arglist)
>>  (format t "I am now about to apply ~s to ~s" f arglist)
>>  (apply f arglist))
> 
> It's starting to feel like this is merely a demonstration
> of Java's weakness in generic programming, and
> not something hooked into Goedel.
> 
> Anyone have any comments?

You're dead right: Java has insufficient support for typing this.

C++ would allow it, but the result isn't pretty either... which says a 
lot about C++'s qualities for higher-order programming.

Regards,
Jo





More information about the Python-list mailing list