Re: Suggestion for pretty_print()

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

Ryan W. Johnson wrote:
> 
> Juergen Luethje wrote:
>  
> > The following is probably even better:
> > Provide a new keyword "string", which is just handled as an alias for 
> > "sequence" during normal operation. But the internal routine that writes
> > the ex.err dump can take advantage of the additional information which
> > sequence is a string.
> > 
> > <snip>
> > 
> > Regards,
> >    Juergen
> > 
> > PS: As a positive side-effect, declaring strings explicitely as "string"
> >     rather than as "sequence" increases the readability of the code.
> 
> Yes, i agree. We have "atom" and "integer", why not "sequence" and "string"?
> ~Ryan W. Johnson
> 

Because "string" is a common variable name and would break a large body of code.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

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

Search



Quick Links

User menu

Not signed in.

Misc Menu