this post was submitted on 20 Jun 2024
431 points (98.4% liked)

Programmer Humor

19471 readers
1328 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 4 months ago* (last edited 4 months ago) (3 children)

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.

[–] [email protected] 11 points 4 months ago

Yeah.. I love them. Makes my != look like ≠

[–] [email protected] 3 points 4 months ago

If someone likes it but doesn't know where to find it, FiraCode does linea tires really good IMO

[–] [email protected] 2 points 4 months 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