Re: feature req: passing sequences
- Posted by irv Feb 15, 2015
- 1385 views
After calling x = get_position(), x is now a sequence of 2 values. So why doesn't (set) position, which seems to be the reverse operation, not accept x? Instead, it requires the programmer to break up x into 2 pieces; x[1],x[2] More work for the programmer, and just another idiosyncrasy to remember.
Symmetry is attractive both in faces and in programming languages.