this post was submitted on 26 Apr 2025
919 points (99.0% liked)

Programmer Humor

22837 readers
1576 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
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 1 day ago (1 children)
[–] [email protected] 1 points 7 hours ago

I just unlocked a core memory.

[–] [email protected] 60 points 1 day ago* (last edited 1 day ago) (3 children)

I'm not a big M$-fan but I actually like c# a lot. Java not so much.

I'm no pro though, I just guerilla-code in my spare time. But of all the languages it's actually my most used. Besides PPL and ASM 😁

[–] [email protected] 39 points 1 day ago (1 children)

I have 20 years programming experience and C# is one of my favorite languages. It feels so expressive and doesn't get in your way nearly as much as Java does. I feel like I'm writing the code I want to write instead of writing the code someone from 30 years ago with a fetish for boilerplate wanted me to write.

[–] [email protected] 2 points 11 hours ago

Lol, yes. I can actually get things done in c#. Even fast and also complex.

In java (which I have to use for android) it's really aweful. Sure I'm no pro, but it also sucks to have to be a pro (and dedicate most of your time to a single thing) to get shit done.

[–] [email protected] 8 points 1 day ago (1 children)

Microsoft Java is one of those cases where MS got the "extend" phase so well executed that they didn't even need to finish the plan.

That said, the language is only good if you insist on using either it or Java. And the ecosystem around it is really, really bad.

[–] [email protected] 5 points 1 day ago

You can't really kill a programming language though

Companies are going to continue using it just because it's what they used before

[–] [email protected] 2 points 1 day ago (1 children)

C# is a great language but I'll always choose Java because the ecosystem around it is so vast. Often times some client library you need has a c# port maintained by one guy and he hasn't updated in years.

[–] [email protected] 2 points 11 hours ago

OK you probably need it more often than I do. But so far, I always found anything I needed for C#. But I'm surely no measure of course, I'm a casual who only codes stuff i, myself, need. And just me/wifey.

[–] [email protected] 60 points 1 day ago (8 children)

C# is better than java just because it doesn't have as much brain rotting "DesIgN PaTTeRnS" gurus

[–] [email protected] 5 points 1 day ago

Instead you get rotten-brained dependency injection rules.

load more comments (7 replies)
[–] [email protected] 97 points 1 day ago (4 children)

I've actually found C# quite pleasant to develop with, so long as I didn't have to worry about targeting non-Windows platforms.

[–] kogasa 48 points 1 day ago (8 children)

It's fully cross platform with .NET Core and later.

[–] Mihies 14 points 1 day ago (1 children)

It was even before through mono/xamarin

[–] [email protected] 2 points 10 hours ago
[–] [email protected] 3 points 1 day ago (4 children)

What does fully cross platform mean? It sounds very vague and a lot like an exaggeration.

[–] wiezy_lrwi 1 points 12 hours ago (1 children)

The sdk and runtime are available on all operating systems. I have used nvim on Ubuntu (wsl) to write and execute C#.

[–] [email protected] -1 points 11 hours ago (1 children)

See all Operating Systems is a steep claim, that is how I originally misunderstood the meaning of fully cross platform.

I'm relatively certain that it won't run on DOS or an Arduino, thereby instantly disproving the 'all operating systems'.

[–] [email protected] 4 points 11 hours ago

Is there anything out there that’s that literal?

[–] kogasa 11 points 1 day ago

The standard .NET C# compiler and CLI run on and build for Windows, MacOS, and Linux. You can run your ASP.NET webapps in a Linux docker container, or write console apps and run them on Linux, it doesn't matter anymore. As a .NET dev I have literally no reason to ever touch Windows, unless I'm touching legacy code from before .NET Core or building a Windows-exclusive app using a Windows app framework.

[–] [email protected] 4 points 1 day ago

Well, I'm currently writing a service and frontend, both in C# (Blazor for the UI), and using docker-compose to build and deploy them to a Raspberry Pi running Linux. So not only cross-platform, but cross-architecture as well.

This is not a new thing either. Since .NET Core was released almost 10 years ago, it has supported cross platform development.

[–] [email protected] 2 points 23 hours ago

I feel the pain in your comment.

I too have been burned by "cross-platform" tooling. What I've learned is the more complex your project is, the less likely it is to have simple cross compliation.

But with that huge caveat, I'll say I've had a better time doing cross comp on dotnet than I have rust. Either of them are infinitely better than learning cmake though. That's definitely just my amateur take though. I'm sure smarter people will tell you I'm wrong.

load more comments (6 replies)
[–] [email protected] 35 points 1 day ago (3 children)

Yea this was a crosspost and also just a meme, but C# is my fav

And really cross-platform has come a LONG way...just as long as you don't need UI on Linux lolol

[–] Mihies 13 points 1 day ago

Not really, even GUI is going strong, check Avalonia UI.

load more comments (2 replies)
[–] [email protected] 26 points 1 day ago (2 children)

Yeah C# gets a bad rap. I spent a decade developing in C++, and Java before switching to C# because of program requirements. Now I never want to go back.

[–] [email protected] 17 points 1 day ago

C# development was spearheaded by Anders Hjelsberg, one of the brains behind Borland Delphi/Object Pascal.

[–] [email protected] 10 points 1 day ago (4 children)

Does it get a bad rap outside of this meme? I've only heard praise. It's by far my favorite language

[–] [email protected] 3 points 1 day ago

It's kind of the opposite of eclipse. People who use it like it and people who don't have experience with it disparage it.

load more comments (3 replies)
[–] [email protected] 11 points 1 day ago (1 children)

I have used many languages in my 25 years of programming. C# is the best.

load more comments (1 replies)
[–] [email protected] 79 points 1 day ago (1 children)

Poor Visual J# (literal Microsoft Java) isn't even in the picture

[–] [email protected] 13 points 1 day ago (1 children)

Sun killed it fast enough so almost nobody remembers.

[–] [email protected] 7 points 1 day ago

I'd argue we aborted before it could be born into mainstream

[–] AnotherPenguin 30 points 1 day ago (1 children)
[–] [email protected] 10 points 1 day ago (1 children)
[–] [email protected] 19 points 1 day ago (1 children)

TypeScript?

It is Microsoft JavaScript.

[–] [email protected] 8 points 1 day ago (2 children)

TypeScript is actually pretty nice, it'd be JScript instead.

[–] [email protected] 1 points 11 hours ago

Yeah but it's Microsoft JavaScript.

[–] [email protected] 16 points 1 day ago (1 children)

TypeScript is only nice compared to JavaScript. It still has most of the warts and footguns of JS, but the typing system really is badly needed.

[–] [email protected] 2 points 11 hours ago

I always really liked JavaScript, but I’m not a software developer. I guess that’s probably the difference between me and folks who actually need to write production code with it.

load more comments
view more: next ›