Re: Namespaces

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

Kat wrote:

>> declare x = 10, y, z = 10
>
> If you add the declare, you can't do the dynamic
> name generation, cause the programmer would have to
> know all the names of all the vars as she is writing
> the code.

Yes, they are mutually exclusive.

I rather like the dynamic assignment, and if Robert added something like:

   without declarations

it could be added to Euphoria without (I think) breaking any code. Euphoria
could still allow declarations (for speed and type checking), and allow
'lazy' programmers to mix in on-the-fly variables.

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu