Re: Source changes

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

Juergen Luethje wrote:
> 
> Derek Parnell wrote:
> > 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

Of course you should. The documentation clearly states that the first two
elements returned contain those items you were testing for. It does not say that
this function will never in the future return additional values blink
So therefore one could code defensively and make sure you only check the first
two elements, but even that doesn't mean that future library changes will never
break your code.

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

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

Search



Quick Links

User menu

Not signed in.

Misc Menu