Re: Source changes

new topic     » goto parent     » topic index » view thread      » older message » newer message

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? smile

<snip>

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu