[Top][All Lists]

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

Re: Make default margin values depend on paper size.

From: Michael Käppler
Subject: Re: Make default margin values depend on paper size.
Date: Wed, 09 Sep 2009 08:43:06 +0200
User-agent: Thunderbird (X11/20071114)

[Forgot to cc' the list]

Hi Carl,
I agree that it's not much of a problem here, but I still think it's better
to use the LilyPond idiom assoc-get instead of the more general Scheme idiom
dumb question: Why is assoc-get "LilyPond idiom"?
grep "(assoc " scm/* | wc - l
grep "(assoc-get " scm/* | wc -l

I've used an other solution now ("get-value") with the benefit to also
output a programming error and the price to be used only in this part of
code. What do you think? I don't really like the idea of quietly setting
a value to a default if the absence of the value is a real error. (and
not a normal case that has to be treated)

I think there are many other "unsecure" computations in the scm-code
else, too. They normally don't matter, but if the code is modified some
errors could be found more easily if programming_errors would be
outputted. I don't know if it's worth the effort, though.


reply via email to

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