449
How to write Hello World (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Mikelius@lemmy.ml 15 points 5 months ago

What is that weird >>=== symbol? Looks like a cross breed between C and JavaScript here.

[-] underscore_@sopuli.xyz 19 points 5 months ago* (last edited 5 months 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.

[-] PlexSheep@infosec.pub 3 points 5 months ago

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

load more comments (2 replies)
load more comments (4 replies)
this post was submitted on 20 Jun 2024
449 points (98.1% liked)

Programmer Humor

19606 readers
914 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