[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Lilypond structure / implicit - explicit / with statement
From: |
Johannes Waldmann |
Subject: |
Re: Re: Lilypond structure / implicit - explicit / with statement |
Date: |
Mon, 4 Apr 2016 22:19:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
interesting discussion!
> My ultimate question boils down to how to assign
> a value to a property. That should not even be a question.
That ("should not be a question") depends on the mental model.
Why do you assume that a property is assignable, or in fact
that a (sub)program should consist of (state-changing) statements?
I guess because of your OO programming background (you mentioned it).
But in (pure) functional programming, there are no assignments
(no state) at all, and that happens to be my preferred mental model.
This is not a question of right or wrong -
history shows that both models are useful.
The question is to convey to the user
the model that was used in the design of the language/system.
You described this as "making implicit knowledge explicit".
The docs do make considerable effort to explain, e.g.,
http://lilypond.org/doc/v2.18/Documentation/learning/contexts-and-engravers
.
If at all, I might criticize this for being in the wrong order:
2. Common Notation, 3. Fundamental Concepts - but how can we
use or learn a language (syntax, notation) without knowing
its underlying semantical model first?
E.g., my lilypond learning problem (I think)
is to find out how much of lilypond is pure data
(music as an expressions, nested by sequential and parallel composition)
and how much is procedural (music as execution of events,
that is, of statements)
and when and how to switch between these models (if at all).
- J.
- Re: Lilypond structure / implicit - explicit / with statement, (continued)
- Re: Lilypond structure / implicit - explicit / with statement, Noeck, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, Noeck, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, David Kastrup, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, Colin Campbell, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, David Kastrup, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, Paul Morris, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, David Wright, 2016/04/04
- Re: Lilypond structure / implicit - explicit / with statement, Thomas Morley, 2016/04/03
- Re: Lilypond structure / implicit - explicit / with statement, Bernard, 2016/04/03
- Re: Lilypond structure / implicit - explicit / with statement, Thomas Morley, 2016/04/03
Re: Re: Lilypond structure / implicit - explicit / with statement,
Johannes Waldmann <=
Re: Lilypond structure / implicit - explicit / with statement, David Sumbler, 2016/04/04
Re: Lilypond structure / implicit - explicit / with statement, David Kastrup, 2016/04/05
Re: Lilypond structure / implicit - explicit / with statement, Bernard, 2016/04/05