lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposed context property renaming


From: Simon Albrecht
Subject: Re: Proposed context property renaming
Date: Wed, 11 Dec 2024 23:19:11 +0100

On 11.12.24 20:04, Trevor Bača wrote:
Regardless of the names of Lily's underlying (and therefore
user-invisible?) types, these user-facing context properties all measure
time, and not space. I think there might be a real gain in clarity in the
public-facing API if we move to labeling time-based properties with
"duration" and reserve "length" for properties that measure things in
centimeters, inches, staff spaces and the like.

That would only make sense in the context of renaming the duration type entirely. Which would be an enormous change and I don’t think you’re really suggesting.

Users need to know whether a music function or a property expects a value like 4 or like \musicLength 4. One gives true with ly:duration?, the other with ly:moment?. So without a full rework of the entire user interface to durations and moments, your avenue of solving is not viable.

Best, Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]