Re: Euphoria Standard Library on UBoard

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jason Gade wrote:

> Tommy Carlier wrote:
>
>> Here are some more suggestions I have for ESL:

<snip>

>> - an enumeration-mechanism: here's how it was done in Win4Eu:

<snip>

> I don't know if it can be avoided, but library functions probably should
> not keep state information; that is one thing I realized after
> advocating an error-handling mechanism. It is also something that I am
> considering in my foreach library which if it is not very simple would
> require the keeping of state information.
>
> If the ESL is to grow beyond the current Euphoria into a multi-threading
> version then keeping state information in library variables will be a
> last-resort mechanism because of race conditions and complications.

If we follow the rule "library functions should not keep state information",
then we can't implement any 'enum()' function. Is this right or wrong?

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu