On Thu, 2 May 2024 at 09:48, Richard Purdie via lists.openembedded.org <[email protected]> wrote: > Personally, I do like the idea but I'm not sure it aids > readability/discoverability of the code. > > I've assumed people would shoot down the idea as the short vars do have > a relatively negative following but if the majority were in favour... > > We could force an audit of all WORKDIR references by changing it to W > too :) (I'm only half joking).
I think one-letter variables belong only in counters used by nested for loops or code doing pure math and everywhere else one should take the trouble to spell them out. It's a relic of archaic computers and mathematicians programming them. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#198907): https://lists.openembedded.org/g/openembedded-core/message/198907 Mute This Topic: https://lists.openembedded.org/mt/105852186/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
