[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strings as variable names
From: |
David Kastrup |
Subject: |
Re: Strings as variable names |
Date: |
Tue, 29 Dec 2015 09:35:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Johan Vromans <address@hidden> writes:
> On Mon, 28 Dec 2015 23:04:37 +0100
> David Kastrup <address@hidden> wrote:
>
>> You conveniently snipped shells so that you could mention them again.
>
> You can find a lot more on
> https://en.wikipedia.org/wiki/String_interpolation
About a third of the examples are not even string interpolation but
format-like functions. Probably because people wanted to see their
favorite programming language mentioned in spite of it not qualifying.
Of course Guile/LilyPond can work with format.
> The point is, is it something we would want (i.e., is useful) in
> LilyPond?
We already have `format' and other string operations. I don't see that
it makes sense to try outdoing Scheme in matters that are not really in
LilyPond's domain. We have deprecated/undocumented/removed several of
LilyPond's "native" constructs for forming expressions from ordinary
Scheme data because there is no point in having everything twice.
--
David Kastrup
- Re: Strings as variable names, (continued)
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Andrew Bernard, 2015/12/28
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Johan Vromans, 2015/12/28
- Re: Strings as variable names, Urs Liska, 2015/12/28
- Re: Strings as variable names, Johan Vromans, 2015/12/28
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Johan Vromans, 2015/12/28
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Johan Vromans, 2015/12/29
- Re: Strings as variable names,
David Kastrup <=
Re: Strings as variable names, David Sumbler, 2015/12/28
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Urs Liska, 2015/12/28
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Kieren MacMillan, 2015/12/28
- Re: Strings as variable names, Malte Meyn, 2015/12/28
- Re: Strings as variable names, David Kastrup, 2015/12/28
- Re: Strings as variable names, Malte Meyn, 2015/12/28
Re: Strings as variable names, Werner LEMBERG, 2015/12/28
Re: Strings as variable names, Johan Vromans, 2015/12/28