On Thu, Feb 02, 2006 at 07:12:08PM +0100, Leopold Toetsch wrote: : >... Anyway, : >the P6 model of "state" is more like a persistent lexical than like : >C's static. : : Sorry for my dumb question - what's the difference then? (Besides that C : dosn't have closures ;)
That *is* the difference. But for those of us handicapped by coming from a C background, the extension of "static" semantics into closure space would tend to lead one toward thinking that all clones share a particular state variable, because a C programmer doesn't really known when he's confusing a particular storage mechanism with a particular semantic model. But then, all humans tend to confuse cultural truth with universal truth--even when (some would say "especially when") they come from a culture that aspires to learn universal truth. Hmm, I'm not sure I've ever slammed fundamentalists and mathematicians in the same sentence before... :-) Larry