Re: Ken's abrasiveness
- Posted by Jason Gade <jaygade at y??oo.com> May 29, 2008
- 736 views
c.k.lester wrote: > > Kat wrote: > > Jason Gade wrote: > > > I think there should be a compelling reason to add anything --feature or > > > new > > > built-in-- to the interpreter, and a broad consensus as well. Not just > > > "because > > > it's cool." > > Jason, CK is adding repeat_str() to Eu, and Eu doesn't have a string type. > > No I'm not. > I was browsing the svn repository and I couldn't find anything... Sequences do 99.9% the job of strings, and they do better than what passes for a string in C. I think their can be improvement, and it has certainly been mentioned with regards to unicode strings. It's just that I don't think we know how to do it "the right way". I certainly don't know how, even though I've thought about it from time to time. For me, Euphoria has two types -- atom and sequence, and of course object which encompasses them both (and is therefore not really separate). Integer is just a special case of atom it is included for performance reasons/special purposes. String as a special case of sequence would be okay, if needed. But again, it needs to be designed and integrated somehow. Now I'm just rambling. Sorry. -- A complex system that works is invariably found to have evolved from a simple system that works. --John Gall's 15th law of Systemantics. "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.