this post was submitted on 14 Sep 2023
412 points (79.5% liked)

Programmer Humor

19551 readers
576 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 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] onizuka89@programming.dev 239 points 1 year ago (2 children)

For those wondering, it's most likely a jab at unity with it's new license model, as you could code in C# in it.

[–] M500@lemmy.ml 34 points 1 year ago (6 children)

Is c# mainly just used in this engine?

[–] GigglyBobble@kbin.social 91 points 1 year ago (1 children)

It's probably a tiny fraction of the C#/dotnet ecosystem. But hobbyist meme creators mostly care about games, I guess.

load more comments (1 replies)
[–] onizuka89@programming.dev 54 points 1 year ago

No, as other's have pointed out it's not. There are plenty of other areas to use it, even in other game engines. OP is just trying to make it seem funny by making the exaggerated narrative that it's the only use case for C#. If Boo was still around in Unity this joke would been accurate with that, don't think that was used anywhere else

[–] Shugzaurus@sh.itjust.works 50 points 1 year ago (1 children)

It is also the language of DotNet framework so hardly.

[–] HiddenLayer5@lemmy.ml 19 points 1 year ago (3 children)

I mean Windows is also undergoing enshitification it could still be true?

[–] gnutrino@programming.dev 16 points 1 year ago

Dotnet has been cross platform for a while now (so long it's not even called dotnet core anymore)

[–] Lmaydev@programming.dev 10 points 1 year ago

It's been cross platform and open source for like 10 years now.

[–] GigglyBobble@kbin.social 8 points 1 year ago (3 children)

While true, businesses have it even harder to migrate to Linux (what else is there when talking enshittification?) than private users. Windows and dotnet won't go anywhere anytime soon.

load more comments (3 replies)
[–] amio@kbin.social 47 points 1 year ago

No, C# is a general purpose language that Unity has a botched, outdated version of.

load more comments (2 replies)
load more comments (1 replies)
[–] amio@kbin.social 120 points 1 year ago (2 children)

You think C# is a Unity thing?

[–] EnderMB@lemmy.world 78 points 1 year ago

I doubt the number of C# developers would drop even 1% due to Unity fucking itself.

[–] GlitchyDigiBun@lemmy.dbzer0.com 18 points 1 year ago (3 children)

Me writing my silly little forms apps in silly little VS Pretty drop-down fields :)

[–] amio@kbin.social 11 points 1 year ago (6 children)

Oh, VS is not "little", it's one of the bloatiest pieces of software on earth.

Also, Forms? How dare you. :p

load more comments (6 replies)
load more comments (2 replies)
[–] makingStuffForFun@lemmy.ml 108 points 1 year ago (1 children)

Ok. What am I in the dark about this time?

[–] turbodrooler@lemmy.world 95 points 1 year ago (2 children)

Guessing it’s about Unity changing their royalty structure.

[–] Serinus@lemmy.ml 91 points 1 year ago (1 children)

Which is kind of weird because most C# devs aren't doing games.

[–] r00ty@kbin.life 13 points 1 year ago

Yeah. Maybe c# game developers will drop. But they're actually a drop in the ocean.

[–] makingStuffForFun@lemmy.ml 43 points 1 year ago (8 children)

Surely other engines use it? I know godot supports it. Not to mention half the business software of the world (pre cloud) seemingly built with it. etc

[–] turbodrooler@lemmy.world 48 points 1 year ago (1 children)

Unreal, Unity’s primary competitor, doesn’t. Mainstream gamers seem to only know about the two. Anyway, it’s a meme. I use C# for exclusively boring corporate stuff, and will continue.

load more comments (1 replies)
[–] lobut@lemmy.ca 9 points 1 year ago

It's a joke built in hyperbole for sure. A lot of my friends are C# devs they're not going anywhere.

[–] squiblet@kbin.social 8 points 1 year ago

A whole lot more than game engines uses C#.

load more comments (5 replies)
[–] Omgarm@lemmy.world 75 points 1 year ago (1 children)

Look at all these C# dev who don't know the witch hunts are starting in 2024.

[–] TheFerrango@lemmy.basedcount.com 18 points 1 year ago (2 children)

Time to become a Visual Basic .Net developer

[–] Wild_Mastic@lemmy.world 7 points 1 year ago (5 children)

Jokes on you, I am already one! (yes my company chosen dev language is really vbnet)

[–] Heavybell@lemmy.world 7 points 1 year ago* (last edited 1 year ago) (1 children)

My old boss loved VB.Net. I still remember a time when I helped him out by solving mysterious bug for him.

He used to have this class he copied about to do database stuff. Not the worst thing of itself, but it was oddly specific in some ways for reused code. E.g. It had a function that took an enum value and returned connection string. And of course what options were in the enum varied.

So I come in one day and two other devs are already peering over his shoulder trying to help. The program is crashing when it tries to connect to the database and they can see for some reason the connection string is a single letter. I ask to see the function that is getting the connection string and see he's removed the parameter, but the compiler didn't pick up on it because:

  • VB.net lets you call functions that have no parameters without parentheses
  • VB.net is type lax, so an enum can be treated as an integer without casting
  • VB.net uses parentheses for array indexation as well as method invokation
  • .Net strings can be indexed like an array of characters
  • VB has no character type so VB.net treat characters as 1-length strings

So instead of passing an enum to a function, it was calling the function with no parameter, then using the enum value to index the returned string into a single character, which was then treated as a string and passed to the SqlClient constructor.

load more comments (1 replies)
load more comments (4 replies)
load more comments (1 replies)
[–] PixxlMan@lemmy.world 71 points 1 year ago (4 children)

Thinking that C# is just Unity is a MASSIVE disservice to C# and dotnet imo. Unity's usage of C# is really crummy, basically relegating a very powerful language to working as a weird scripting language.

[–] modulojs@programming.dev 16 points 1 year ago* (last edited 1 year ago) (2 children)

Absolutely. C# in Unity always seemed to me like a square peg in a round hole.

From my perspective (teaching game programming classes), it's incredibly clunky for beginners when compared to others. Unity needed a tightly integrated, noob-proof scripting language. Despite C# being the primary language, it's integration and setup with the rest of Unity seems surprisingly lacking, and, like you're referencing, you don't even get convenient use of the broader C# / Mono / .net ecosystem, which makes skills more portable. Even the "bad old days" of Flash/ActionScript were much easier for students, and results in more portable coding skills (e.g. at least transitioning to Web / JavaScript from Flash / ActionScript is easier)

It's much easier to teach same lessons / concepts using Godot, though sadly Unity is much better known. Hopefully the present pricing chaos might shift the needle a bit on this!

load more comments (2 replies)
[–] dylanTheDeveloper@lemmy.world 10 points 1 year ago (2 children)

I'd say the same with Unreal and C++

load more comments (2 replies)
[–] kryllic@programming.dev 9 points 1 year ago (2 children)

Agreed, I feel like if someone starts their C# journey exclusively in Unity, they won't have a solid foundation in the actual language, just that specific implementation of it as a scripting language.

load more comments (2 replies)
load more comments (1 replies)
[–] Rentlar@lemmy.ca 69 points 1 year ago* (last edited 1 year ago) (5 children)

Nice meme. I'll just ignore the fact most C# devs aren't game devs but...

Many other engines use C#. Godot is compatible with it, for example.

load more comments (5 replies)
[–] Ddhuud@lemmy.world 55 points 1 year ago (1 children)

Because the only possible thing to do in c# is unity stuff.........

.

.

.

...

[–] fuck_u_spez_in_particular@lemmy.world 21 points 1 year ago (3 children)

I mean why else would you want to use C# when there's Rust 🦀 and all the awesome tooling and libraries around it...

[–] areyouevenreal@lemm.ee 13 points 1 year ago (11 children)

Rust really isn't all that. Plus C# is used for all kinds of corporate stuff where Rust levels of performance aren't needed. It's also used in several other game engines

load more comments (11 replies)
[–] brezelradar@feddit.de 7 points 1 year ago

Yea, there are 50 game engines written in rust - or so I heard.

[–] Lazycog@sopuli.xyz 30 points 1 year ago* (last edited 1 year ago) (1 children)

Wait what? What happens in jan 2024?

Edit: ah, unity's new install based pricing.

[–] turbodrooler@lemmy.world 20 points 1 year ago (1 children)
[–] ledtasso@lemmy.world 21 points 1 year ago (9 children)

Hot take (maybe?) C# looks like a great language, better than Java. I wish I had an excuse to use it.

load more comments (9 replies)
[–] Pfnic@feddit.ch 19 points 1 year ago

Because ASP.NET isn't a thing at all...

[–] gratux@lemmy.blahaj.zone 17 points 1 year ago (2 children)
[–] HolyDuckTurtle@kbin.social 10 points 1 year ago (1 children)

I hear Godot's own scripting language is preferable to C# if you're willing to learn it.

[–] jmcs@discuss.tchncs.de 21 points 1 year ago (1 children)

C# is technically faster, but according to one of the cassette beasts' co-directors, you can maximize productivity and performance by doing most stuff in gdscript and skipping directly to c++ for the bottlenecks.

load more comments (1 replies)
load more comments (1 replies)
[–] tomjuggler@lemmy.world 15 points 1 year ago

Fun meme but corporate job listings in my town contradict the premise.

Let them C# I'm sticking to C++ and Python.

[–] pkill@programming.dev 12 points 1 year ago (5 children)

Rooting for Bevy so much rn

load more comments (5 replies)
[–] pleasemakesense@lemmy.world 11 points 1 year ago (6 children)

Is it pissible for programmers to encounter a silly little meme without taking it serious and going into a frenzy explaining that actually its premise is wrong

[–] samus12345@lemmy.world 17 points 1 year ago (1 children)

No, it would be pretty painful to piss something like that.

load more comments (1 replies)
load more comments (5 replies)
[–] MrScottyTay@sh.itjust.works 9 points 1 year ago

C# is massive, .NET one of the biggest platforms for code is C#. Plus Godot, Unity's closest comparable competitor, also allows C#.

load more comments
view more: next ›