Would Anonymous Functions Help in Learning Programming/Python?
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Sat Sep 22 04:40:53 EDT 2007
On Sat, 22 Sep 2007 00:47:37 -0700, Kay Schluehr wrote:
> On 22 Sep., 08:56, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
>> Kay Schluehr <kay.schlu... at gmx.net> writes:
>> > If you feel you can transform it into another unambigous grammar
>> > mixing statements and expressions it's up to you.
>>
>> We got rid of the print statement for python 3.0. Why not get rid
>> of the rest of them too? Just use expressions for everything, as
>> works fine for plenty of other languages.
>
> One might create a new dynamic functional+OO programming language,
> where small statements like print, assert, raise etc. all become
> functions and statements like while, for, with etc. become anonymous
> closures.
Before someone starts to create such a thing he should take a look at Io
which has just objects and methods.
http://www.iolanguage.com/
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list