2 ms·
So you don't do: (+ 1 2) Also, I don't think that a.assign( something ) is particularly natural or understandable. Am I assigning something to a, o
by zabzonk 6y ago
So you don't do:
(+ 1 2)
Also, I don't think that
a.assign( something )
is particularly natural or understandable. Am I assigning something to a, or assigning a to something?
- gumby 6y agoI usually use a dialect that allows me to use `plus` but the symbols `plus` and `+` are just names to me — just stuff you learn. As I mentioned the use of `=` for assignment is counterintuitive, but if you simply learn it as yet another name it’s no big deal. > Am I assigning something to a, or assigning a to something? Seems to me that it would be causing a side effect on a, but as I said these are just arbitrary labels that you have to learn. I find operator precedence weird and in 40+ years of continuous programming and doing math I have never been able to develop an intuition about them. But it's a thing you learn.