Re: Source changes
- Posted by Juergen Luethje <j.lue at g?x.de> Jul 03, 2007
- 586 views
Derek Parnell wrote: > Juergen Luethje wrote: > > > > Robert Craig wrote: > > > > > Juergen Luethje wrote: > > > > >> CChris wrote: > > >> > > >>> A few hours ago, I checked in the changes related to value() and get(), > > >>> so > that</font></i> > > >>> they both return 4 element sequences. I didn't test the generated docs. > > >> > > >> <snip> > > >> > > >> Rob, > > >> > > >> please do not put these changes into the next Euphoria release. > > > > > > I can understand your concerns about keeping things > > > simple, but I'm not going to veto this change. I doubt that > > > it will cause much, if any, code to break. > > > > Backwards compatibility is not my main concern. However, for the sake of > > completeness: The proposed change will cause code to break such as > > }}} <eucode> > > if equal(value(s), {GET_SUCCESS,a}) then > > </eucode> {{{ > > I understand your concern. Since Rob had written: "I doubt that it will cause much, if any, code to break.", I mainly added that comment for the sake of completeness ("for the records" so to say). > However, because of the very nature of Euphoria's > sequence paradigm, Euphoria coders must never assume that the length of a > returned > sequence will be anything specific. Huuu? We must not assume that things work according to the documentation? <snip> Regards, Juergen