[OE-core] still seems to be a pile of "_append +=" stuff in oe-core
Robert Yang
liezhi.yang at windriver.com
Mon Nov 23 01:24:41 UTC 2015
The _append and += are different, so we need either:
var_append = " foo"
or
var_append += "foo"
for example:
var += "foo"
var = "A"
Then var will be "A".
But:
var_append += "foo"
var = "A"
Then var will be "A foo"
On 11/22/2015 08:04 PM, Robert P. J. Day wrote:
>
> i mentioned this a while back, and it *seems* that there's even more
> of this now -- the use of "_append" in conjunction with "+=", which is
> clearly(?) redundant.
>
> one simply needs to run:
>
> $ grep -r "_append.*+=" *
>
> to see how much of that there is. sure, it doesn't hurt, but it's
> definitely not good programming practice.
>
> rday
>
More information about the Openembedded-core
mailing list