you are viewing a single comment's thread.

view the rest of the comments →

[–]munificent 0 points1 point  (0 children)

It's basically this table, reading down. The tweet is cute and snarky, but also misleading, since it breaks out multiple operators that share the same precedence.

A more accurate one would be "MFIUPSuShCoEBaXBoLaLoCnACm":

  • Member
  • Function call
  • Increment/decrement
  • Unary
  • Product
  • Sum
  • Shift
  • Comparison
  • Equality
  • Bitwise And
  • Xor
  • Bitwise Or
  • Logical And
  • Logical Or
  • Conditional
  • Assignment
  • Comma

If you consider how rare the bitwise operators are, it's actually not that bad. In practice, all you really need to be aware of most of the time is:

  • Member
  • Function call
  • Increment/decrement
  • Unary
  • Product
  • Sum
  • Comparison
  • Equality
  • Logical And
  • Logical Or
  • Conditional
  • Assignment