176
you are viewing a single comment's thread
view the rest of the comments
[-] CrackedLinuxISO@lemmy.dbzer0.com 27 points 4 months ago* (last edited 4 months ago)

Gary should learn about Lazy and stop reinventing the wheel.

I put blame on any of his senior coworkers who didn't use this as a teaching opportunity during PR.

[-] dax@feddit.org 8 points 4 months ago

Or just services.AddSingleton<X>. There's plenty to criticize in C#, or any language, but this ain't it. Most of the new language features just make the code shorter without loosing clarity. Really liking newer C# versions.

[-] GreenMartian@lemmy.dbzer0.com 5 points 4 months ago

Also, Lazy is thread safe. Gary's code is not.

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

Programmer Humor

29845 readers
100 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