what's in a name (was Re: using lambda to print everything in a list)

Roman Suzi rnd at onego.ru
Mon Apr 30 16:08:03 EDT 2001


On Mon, 30 Apr 2001 James_Althoff at i2.com wrote:

>window.showWaitCursorDuring:
>    line1-of-code
>    line2-of-code
>    . . .
>    lineN-of-code

My first reaction was to add:

goto window.showWaitCursorDuring

;-)

Then why not loops:

window.for_each_event:
   suite

Or even:

window = Process_Class(...)

...

window:

  showWaitCursorDuring:       # <- also process class instance
     suite1

  for_each_event:
     suite2

  ...

etc.


Probably there must be some special syntactic support for
process programming to facilitate usage of threads and
forks alike. Your code is an example of
scheduling 2 processes, one of which is a subprocess
of another. (It is very common in GUI apps).


Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Monday, April 30, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Do fish get thirsty?" _/





More information about the Python-list mailing list