this post was submitted on 25 Oct 2026
371 points (95.1% liked)

Programmer Humor

33844 readers
1199 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 3 years ago
MODERATORS
 

Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

you are viewing a single comment's thread
view the rest of the comments
[–] Valmond@lemmy.dbzer0.com 2 points 3 days ago (1 children)
[–] ThirdConsul@lemmy.zip 4 points 3 days ago (2 children)

Not the oc, but honestly just random shit, like:

Linq.

Async and await are both in python or rust, but still via anexternal provider afaik (like Tokio).

Explicit interface implementation (default trait implementation for the Rust fans)?

Nice source generators and what you can fo with them (kinda like aspect programming).

Idk if python or js support pattern matching or proper low level or no GC coding.

I also enjoy my langauges to have an end of statement character like ; instead of the horrible visual mess python is.

Type safety of compile and runtime type checks lol. In C# if you say your module requires int parameter, noone will be able to call it passing None/null/string/date.

[–] marcos@lemmy.world 2 points 3 days ago (1 children)

Linq

AKA - We have Monads at home...

Rust is really missing something like do syntax. It's half-way there with the semicolon and question marks, but it's missing an idiom for .map_or_else and to generalize the thing to work with a trait.

[–] ThirdConsul@lemmy.zip 1 points 3 days ago* (last edited 3 days ago) (1 children)

AKA - We have Monads at home…

Thats not the linq purpose. Though it is technically a monad, its purpose is not hiding side effects or managing an async flow, or managing nulls/errors, but query, filter, map data from an enumerable.

If you use Linq as a replacement for Option, Either or Maybe you're doing something wrong.

[–] marcos@lemmy.world 1 points 2 days ago

If you use Linq as a replacement for Option, Either or Maybe you’re doing something wrong.

Yeah, exactly, it's a replacement for List.

[–] MrScottyTay@sh.itjust.works 1 points 3 days ago

Pretty much hit the nail on the head to be honest