11-27-2006, 08:42 AM
In QM are only 3 precedence groups of binary operators. First: + - * / % | & << >> ^ ~. Second: = != < > <= >=. Third: && ||. I don't like when there are many precedence groups, because it is not easy to remember. For example, in C++ are 10 or more precedence groups of binary operators. I don't remember them all, and then I rather use (). What is most annoying - some operators in C are placed not logically. For example, == has higher precedence than &. Anyway, now I think in QM * should have higher precedence than +, because we know it from mathematics. But now already cannot change.
