this post was submitted on 26 Apr 2025
974 points (98.9% liked)

Programmer Humor

22901 readers
876 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] 101 points 5 days 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.

[–] [email protected] 51 points 5 days ago (8 children)

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

[–] [email protected] 15 points 5 days ago (1 children)

It was even before through mono/xamarin

[–] [email protected] 2 points 4 days ago
[–] [email protected] 5 points 4 days ago (8 children)

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

[–] [email protected] 13 points 4 days 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 4 days 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.

load more comments (6 replies)
load more comments (6 replies)
[–] [email protected] 36 points 5 days 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

[–] [email protected] 14 points 5 days ago

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

load more comments (2 replies)
[–] [email protected] 27 points 5 days 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.

[–] Arghblarg 17 points 5 days ago

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

[–] [email protected] 10 points 5 days 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

load more comments (4 replies)
[–] JeromeVancouver 11 points 5 days 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] 81 points 5 days ago (1 children)

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

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

Sun killed it fast enough so almost nobody remembers.

[–] [email protected] 7 points 4 days ago

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

[–] [email protected] 68 points 5 days ago* (last edited 5 days ago) (4 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] 43 points 4 days 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.

load more comments (1 replies)
[–] [email protected] 10 points 4 days 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] 4 points 4 days 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

load more comments (2 replies)
[–] [email protected] 62 points 5 days ago (3 children)

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

[–] [email protected] 7 points 5 days ago (2 children)

A shame there is no real FOSS movement behind it (for what I know) it could do with some modernization.

[–] [email protected] 21 points 5 days ago (1 children)

What do you mean? The entire stack is open source.

[–] [email protected] 8 points 5 days ago (2 children)

I'm just hoping for a more thriving community behind it.

[–] [email protected] 3 points 4 days ago (1 children)

I think that is probably due to the places where it shrines isn't often a FOSS area. All my corporate use was for these massive windows applications. FOSS many times are small teams making very targeted solutions. Aside from Android, it feels like Java programmers are picking java out of personal skill. I don't known what apps I use would be a good target for C#.

[–] [email protected] 2 points 4 days ago (3 children)

That's probably it, it feels like a "corporate language" for most people, and probably is.

I use C# with Godot and have done some stuff at work but it's true it hasn't really its place it seems. Never have I thought about C# as a solution if I wasn't forced to use it.

load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 1 points 3 days ago* (last edited 3 days ago) (2 children)

Its not so bad, there is Jellyfin, the various arr applications ( Radarr, Sonarr...), ShareX, Duplicati, and a lot of libs. It might not be as active as C , Python or Rust but I think saying that there is no real FOSS movement is a bit unfair.

[–] [email protected] 2 points 3 days ago

I mean behind the evolution of the language itself.

[–] [email protected] 1 points 3 days ago* (last edited 3 days ago)

I think he meant behind the language itself, not projects using it

[–] [email protected] 5 points 4 days ago

Instead you get rotten-brained dependency injection rules.

[–] [email protected] 7 points 5 days ago

Also, optional value semantics. I love value semantics!

[–] [email protected] 22 points 4 days ago (2 children)
[–] [email protected] 7 points 3 days ago

I remember J++. Ew.

[–] [email protected] 3 points 4 days ago

I just unlocked a core memory.

[–] [email protected] 31 points 5 days ago (1 children)
[–] [email protected] 10 points 5 days ago (1 children)
[–] [email protected] 20 points 5 days ago (1 children)

TypeScript?

It is Microsoft JavaScript.

[–] [email protected] 8 points 5 days ago (2 children)

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

[–] [email protected] 17 points 5 days 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.

load more comments (1 replies)
load more comments (1 replies)
load more comments
view more: next ›