Re: deepening listed subscripting

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

Antonio Alessi wrote:
> 
> Jeremy Peterson wrote:
> > 
> > It sure is!  Euphoria is supposed to be simple, not a bunch of hard to
> > remember
> > syntax rules.  
> > 
> > Jeremy
> 
> Hi Jeremy,
> 
> do you think too that
> 
> newString­ =
> originalString[1..2]&"INSERT"&originalString[5..9]&originalString[27..$]
> 
> is more simple than:
> 
> newString­ = originalString[1..2]&"INSERT"&[5..9][27..$]
> 
> ??
> 
> antonio

I'd say, no, it's not simpler it's just much more readable and understandable.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu