this post was submitted on 07 Oct 2025
173 points (91.0% liked)

Programmer Humor

27141 readers
1791 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
you are viewing a single comment's thread
view the rest of the comments
[–] Venator@lemmy.nz 13 points 3 weeks ago (1 children)

I have loads of experience with C# and both styles look fine to me. /shrug

[–] Lemminary@lemmy.world 4 points 3 weeks ago (2 children)

Same here. Also, this syntax is common in modem JavaScript, I don't get the hate.

[–] Venator@lemmy.nz 9 points 3 weeks ago (1 children)

this syntax is common in modem JavaScript

I think you might have just explained the hate 😅

[–] Lemminary@lemmy.world 4 points 3 weeks ago

Sure, but those are people who hate JavaScript for the sake of it. The rational ones hate it for its inconsistencies because the one thing JS gets right is its syntax.

[–] MaggiWuerze@feddit.org 2 points 3 weeks ago

yeah, in kotlin as well, except its '?:' instead of '??='