top | item 32401608

(no title)

nice2meetu | 3 years ago

Ah, I remember it is the non-intuitive one, but then when I use it a while, I keep double-guessing which one is the intuitive one.

Kind of like when my wife tells me I'm doing something wrong and she wants it to be the other way.. I know she thinks this thing is important, but can't work out which way she wants it done.

discuss

order

layer8|3 years ago

The intuitive one is the order in which `ls` displays it, or assignment order (a := b). That’s how I remember what the intuitive order is. ;)

naniwaduni|3 years ago

Surely the intuitive order for mutating assignment is value → name, though...