On Fri, Jul 03, 2020 at 08:44:03PM +0200, Konrad Weihmann wrote:
> - " ??= " for defaults
> - minimize the usage of 1st stage operator "+=", "=+", ".=", "=." and
> replace them by "_append" and "_prepend" (which would eliminate the need for
> .= and =. btw)

I agree that there is a bit of a usability problem here, but I think this
proposal is going in the wrong direction.  It's really the _append/_prepend
operators that have the uninituitive semantics and that I think should be
avoided.  In particular, it is very difficult to "kill" an _append once
it's been defined.

How much of the problem is really a tools issue, and how much is just
something that can be fixed with documentation/convention, is an interesting
question.

Part of the problem, at least, seems to stem from different opinions about
what variable settings are "required" in any given situation and what the
division of responsibility between layers, recipes, users and DISTROs 
ought to be.  I think that probably wants disentangling before we look
too closely at the exact syntax and semantics of our assignments.

p.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1100): 
https://lists.openembedded.org/g/openembedded-architecture/message/1100
Mute This Topic: https://lists.openembedded.org/mt/75280300/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-architecture/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to