176
you are viewing a single comment's thread
view the rest of the comments
[-] rtxn@lemmy.world 6 points 6 months ago* (last edited 6 months ago)

Looks a lot like more syntax sugar to me, to hide boilerplate code. It's not necessarily a bad thing, but it can obfuscate the actual meaning of the code for the sake of brevity. What does A ??= B do at a glance, for example?

It's not exclusive to C# or "corporate" languages either. Rust has a fuckton of syntax sugar that makes it difficult to read.

[-] spechter@feddit.org 14 points 6 months ago* (last edited 6 months ago)
A ??= B

Is just

If (A == null)
{
  A = B;
}
[-] victorz@lemmy.world 1 points 6 months ago

It's all about recognition, and we can train our brains to recognize things. ๐Ÿ‘

this post was submitted on 07 Oct 2025
176 points (91.5% liked)

Programmer Humor

30973 readers
1583 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 2 years ago
MODERATORS