this post was submitted on 26 Apr 2025
563 points (98.8% liked)

Programmer Humor

22802 readers
851 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 47 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 59 minutes ago

Remember J#?

[–] [email protected] 1 points 51 minutes ago

MS products used to be just Word, Excel, etc. I used to know the name of the guy who instituted adding "Microsoft" to all the names. I think he was a VP.

[–] [email protected] 39 points 11 hours ago* (last edited 11 hours 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] 22 points 4 hours ago

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 2 hours ago

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 3 hours 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] 3 points 1 hour 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] 37 points 12 hours ago (3 children)

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

[–] [email protected] 3 points 3 hours ago

Instead you get rotten-brained dependency injection rules.

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

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

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

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

[–] [email protected] 6 points 8 hours ago

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

[–] [email protected] 5 points 12 hours ago

Also, optional value semantics. I love value semantics!

[–] [email protected] 52 points 14 hours ago (1 children)

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

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

Sun killed it fast enough so almost nobody remembers.

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

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

[–] [email protected] 62 points 14 hours 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] 27 points 13 hours ago (3 children)

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

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

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

[–] [email protected] 4 points 1 hour 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] 5 points 2 hours 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] 9 points 12 hours ago

It was even before through mono/xamarin

[–] [email protected] 1 points 12 hours ago* (last edited 12 hours ago) (1 children)

True, but what I’m really talking about is the unbeatable user experience of having an application that looks and feels as if it were a native Windows application, because it is and has that first-class platform support straight from the vendor.

With that said, most new cross platform applications today are probably more like electron or Web apps.

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

Ok, there's no such thing as native Windows apps for Linux, but there are cross platform GUI frameworks like Avalonia and Uno that can produce apps with a polished identical experience across all platforms, no electron needed

[–] [email protected] 8 points 9 hours ago* (last edited 9 hours ago) (1 children)

Qt is my favourite, though it's not .NET.

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

Good lord, I've never seen anyone say this in public. I used Qt Creator for a couple of years and I found the combination of C++ for under the hood and Javascript for the UI to be a fantastic way of ensuring a nearly nonexistent base of developers who could competently do both. Maybe they grow on trees in Finland, I dunno. And maybe you're talking about some other "Qt", I also dunno.

I've done C# and Java extensively as well and I would never choose Qt over them. I might choose Qt over Objective-C, however.

[–] [email protected] 5 points 4 hours ago (1 children)

QML is such an awesome UI language, the only thing (that I know of) that comes close is Jetpack Compose.

The flavour of JavaScript QML uses is very different from regular JavaScript, it's literally a glue language and any significant non-UI logic should be done in C++.

And Qt C++ is very different to most other C++ framework (or how people usually write pure C++), it feels much more Java-inspired.

Anyway, it really is a great UI toolkit if you want something powerful, cross-platform and efficient.

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

I suppose Qt's cross-platform aspect is a big checkmark in the plus column. My own opinion of Qt is probably colored by the fact that I was forced into it against my will and that the Finns who initially wrote the app were unhelpful and downright hostile to my attempts to customize it in ways that their customization framework did not support.

[–] [email protected] 22 points 14 hours 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] 3 points 8 hours ago

ASP.Net Core is a phenomenal backend.

[–] [email protected] 10 points 12 hours ago

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

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

Or realistically on Mac. Mac Catalyst is neat but you’re basically building an iPad UI and afaik that’s all that MAUI supports still

[–] [email protected] 18 points 14 hours 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] 10 points 13 hours ago

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

[–] [email protected] 6 points 13 hours ago (2 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] 2 points 2 hours 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.

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

It's IMO getting a bit oldish, it's nice for small projects (up to medium sized I guess, after that I don't see the benefits over say C/C++ but that's just my opinion) but there are a lot of improvements that could be done I think.

The language is open source IIRC, so it could be done I guess, like C/C++ has new versions every some years.

[–] [email protected] 10 points 14 hours ago (1 children)

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

[–] [email protected] 3 points 8 hours ago

I've used many languages/platforms in my 30 years of programming (take that!), including Visual Basic, C, C#, Java, Objective-C and C++. I agree that C# is the best but not by much. They all do pretty much the same things - if one language lacks something that other languages have shown to be beneficial, that something tends to get incorporated in a future update in some form or another, and their glaring weaknesses tend to get corrected as well (like when Objective-C mostly did away with the need to explicitly release fucking everything).

[–] [email protected] 19 points 15 hours ago (1 children)
[–] [email protected] 7 points 9 hours ago (1 children)
[–] [email protected] 12 points 8 hours ago (1 children)

TypeScript?

It is Microsoft JavaScript.

[–] [email protected] 5 points 7 hours ago (1 children)

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

[–] [email protected] 9 points 5 hours ago

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] 1 points 8 hours ago (1 children)

There is a third brother nobody ever even mentions ... He is also named after an island

[–] [email protected] 1 points 34 minutes ago