RE: a thought about sequences
- Posted by Andy Serpa <ac at onehorseshy.com> Aug 17, 2003
- 398 views
Andreas Rumpf wrote: > > > Andy Serpa wrote: > > > > > > Andreas Rumpf wrote: > > > > > > > > > A sequence can be everything: a tree, a table, a stack, a string, a > > > structure, an array of structures, etc, etc. While this is great, it has > > > > > > > > > (like everything in life) a drawback: > > > Look at your source code, how often do you read 'sequence'? The word > > > becomes meaningless after some time. It is like in real languages: A > > > word that does mean everything is meaningless. I think, that's one > > > reason (among others) why other languages don't have a "one-does-it-all" > > > > > > > > > type. > > > > > > > First, you say you want a choice in the way you do things. Now, > > Euphoria gives you too many choices -- it is too flexible. Yes, > > everything in life has its drawbacks, but some of them are well worth > > it... > > > I am not against sequences. It just seems OpenEu's idea of 'sequence of > integer' is a good one. > I agree with that -- I already agreed with that. The type system needs improvement, certainly.