Re: Namespaces
- Posted by "Fam. Nieuwenhuijsen" <nieuwen at XS4ALL.NL> Oct 24, 2000
- 557 views
David, I too am a little impressed, or at least awake again. The py code could be a great testing phase for new features of Euphoria. My questions, answers and ideas ..... - I like the associated list, but why aren't you using it for the namespace ? It would be much more consistent, and easy. foo.e["i"] - I don't the namespace solution (hack ?!) of using the filename. Instead, do something like this, to avoid the whole global/local/naming issue: include foo.pi bar as foo_bar i as foo_i end include - I don't like the auto creation of variables, why not distinguish: integer x = 5 -- declare & initialize x = 5 -- only assign a value - I like for-in-do .. everybody does. (except Robert obviously ) - Where is the { left, middle, right } = my_func () notation ? - And how to procedures work now ? Good luck and succes .. Cheers, Ralf N. nieuwen at xs4all.nl