On Sun, 28 Dec 2014, Riccardo (Jack) Lucchetti wrote:
On Sun, 28 Dec 2014, Sven Schreiber wrote:
> However, maybe you and Jack should have a private discussion about this,
> because the user manual is full of such examples involving string
> substitution, and then there's the quote "It’s amazing what string
> substitution can do for you, isn’t it?" (from section 16.3 in the manual).
I remember writing that sentence. String substitution is a great thing in
scripting languages. As a heavy bash user, I absolutely love it. The problem
is, it makes it very difficult to optimise a language for speed and
efficiency.
Jack and I have discussed this at length and we're basically on the
same page. We're not going to snatch away something that many people
find very convenient, but I'm interested in exploring alternatives
to string substitution: this is the intent behind some recent
additions such as the genseries() function and the "setopt" command.
Allin