Sorry, but anyone who thinks that programming state machines with iddy-biddy bits of code, global state and
for my $counter( GLOBALSTATE->{LOOPCOUNT} .. 1000 ) {
IsSomethingElseReadyToRunYet();
## do a bit
IsSomethingElseReadyToRunYet();
## Do a bit more
OhGodSomethingElseIsReadyToRun() and do{
GLOBALSTATE->{LOOPCOUNT} = $counter; # 3!
last;
};
## Stuff we might get around to doing next time through...maybe
}
is easier than remembering to lock() a variable, is perverse :)
This is humour and no reflection on you, Matts or anyone else. I think state machines suck.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|