[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

6229: [MUD-Dev] Re: atomic functions

[Full Header] [Plain Text]
From: "Jon A. Lambert" <jlsysinc@ix.netcom.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Sun, 3 May 1998 17:51:32 -5
References: [1]
Organization: Kanga.Nu
On  3 May 98 at 9:34, Chris Gray wrote:
>
[snip]
> Hmm. I guess one could argue that anything like this is really just syntactic
> sugar, since you could rewrite it as:
> 
>     phase2event() {
>          phase2();
>     }
> 
>     event() {
>         phase1();
>         schedule event phase2event;
>     }
> 
> Would this even be worth considering?
> 

You have hit the very essence of what I am doing with your second 
example.  The first example would be an extension for me.  I hadn't 
thought of it until just now, when you bonked me over the head with 
it. :)

I think I will address the downside in my next reply.
  
--
--/*\ Jon A. Lambert - TychoMUD     Internet:jlsysinc@ix.netcom.com /*\--
--/*\ Mud Server Developer's Page <http://www.netcom.com/~jlsysinc> /*\--
--/*\   "Everything that deceives may be said to enchant" - Plato   /*\--

--
MUD-Dev: Advancing an unrealised future.