• @underscore_@sopuli.xyz
    cake
    link
    fedilink
    21
    edit-2
    11 days ago

    It’s a the right shift assignment operator so x >>= 4 right shifts x by 4 and assigns the result back to x. The code editor is displaying single double wide symbol (ligature) instead of the three character long operator >>=, I discovered today these are in fact well loved by some coders.

    • Mikelius
      link
      fedilink
      29 days ago

      I totally thought because of how long the equals looked, it was multiple equals characters, not just >>= lol. That’s what got me confused. Don’t think these are things I’d personally use but each to their own preferences right xD