RE: Eu's poor design
- Posted by Andreas Rumpf <pfropfen at gmx.net> Aug 17, 2003
- 467 views
jbrown105 at speedymail.org wrote: > > > On Sun, Aug 17, 2003 at 07:47:01PM +0000, Andreas Rumpf wrote: > > > > > > jbrown105 at speedymail.org wrote: > > > > > > > > > On Sun, Aug 17, 2003 at 06:55:50PM +0000, Andreas Rumpf wrote: > > > > I am tired of argumenting about this. > > > > > > Ok. > > > > > > > Still nobody showed me how to do > > > > seq[1][2][3] = some_func(seq[1][2][3]) > > > > easier in Eu. > > > > > > x = some_func(x) > > Yes, but you left out some assignments: > > x = seq[1][2][3] > > x = some_func(x) > > seq[1][2][3] = x > > -- This isn't easier. > > Ok, tell me this. > > Why do you have the 'seq[1][2][3]' in the first place? Why not just use > x throughout? Because often you need sequences in sequences! And seq[1][2] is the way to address the inner sequence.