Is the assignment operator really “just” an operator?
问题 My question was triggered by this discussion on SO, which did not lead to an answer that would really explain the issue. I am "rewriting" it here in a slightly different way, because I want to make it more clear what the real problem is and therefore hope to get an answer here. Consider the following two Ruby expressions: 1 * a - 3 1 && a = 3 From the Ruby precedence table, we know that of the operators mentioned here, * has the highest precedence, followed by - , then by && and finally by =