72
submitted 7 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] porous_grey_matter@lemmy.ml 6 points 7 months ago

perhaps in a century, contemporary programmers will find it bizarre that C used the equal-sign to mean assignment rather than equality, when the <= arrow would more accurately describe assignment

Maybe they'll find a better symbol than the one we already use for less than or equal to.

[-] balsoft@lemmy.ml 1 points 7 months ago* (last edited 7 months ago)

It's quite obviously := a.k.a ≔. Already used by Go and others.

[-] m532@lemmygrad.ml 1 points 7 months ago

They could use the small arrow <-

this post was submitted on 10 Sep 2025
72 points (100.0% liked)

Programmer Humor

42018 readers
435 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS