1. Re: we need official libs : Swap
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Jul 21, 1999
- 282 views
Roderick Jackson wrote: > Mmm, I don't know about this. Were you already familiar > with some other language that incorporates this idea, > before you discovered Euphoria? Look at Python. > "If it's not broke, (or at least causing trouble,) > why 'fix' it?" 1. I have to create an intermediary variable who's *only* function is to act as an intermediary: sequence pt pt = get_position() x = pt[1] y = pt[2] 2. I have to use indexes, which are less clear than direct assignment. In order to get around this, I have to set up constants to make the code more readable. The *only* reason they exist is because the intermediary variables exist: constant X = 1, Y = 2 ... x = pt[X] y = pt[Y] 3. I have to use indexed sequences, which are slower than numerically typed variables. -- David Cuny