On Thu, Feb 21, 2019 at 7:44 AM Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Valentin,
>
> > Or, we just don’t bother and keep using (and recommending) # everywhere.
> > Thoughts?
>
> I use # everywhere I can, even where it’s not strictly necessary, in part
> because it visibly sets arguments apart for easy parsing [by me].
>
> Not sure if that’s useful input for you?
>

Hi Kieren, Valentin,

I've shifted my practice the opposite direction of Kieren's, I suppose: I
omit # before numbers everywhere that it's possible to do so.

No real Lily rationale here, other than a personal coding practice to
employ the (lexically) shortest version of equivalent statements. I think
the original impulse came years ago when I was trying to rid myself of
redundant precedence indicators, eg, to use "a + b * c" everywhere in place
of "a + (b * c)"; because the two forms are equivalent (in most languages),
I wanted a canonical version for myself that I could spot at a glance. That
practice leaked into my Lily code, with the slight preference now for "99"
to "#99" where the forms are equivalent.

Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to