418
top 50 comments
sorted by: hot top controversial new old
[-] onizuka89@programming.dev 233 points 1 year ago

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

Is c# mainly just used in this engine?

[-] GigglyBobble@kbin.social 87 points 1 year ago

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 53 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 49 points 1 year ago

It is also the language of DotNet framework so hardly.

[-] HiddenLayer5@lemmy.ml 19 points 1 year ago

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

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 46 points 1 year ago

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

[-] PixxlMan@lemmy.world 6 points 1 year ago

Not at all. Unity's use of C# is pretty unconventional even. Not representative at all.

load more comments (1 replies)
load more comments (1 replies)
[-] amio@kbin.social 117 points 1 year ago

You think C# is a Unity thing?

[-] EnderMB@lemmy.world 76 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

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

[-] amio@kbin.social 11 points 1 year ago

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 109 points 1 year ago

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

[-] turbodrooler@lemmy.world 94 points 1 year ago

Guessing it’s about Unity changing their royalty structure.

[-] Serinus@lemmy.ml 88 points 1 year ago

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 42 points 1 year ago

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 49 points 1 year ago

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

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

Time to become a Visual Basic .Net developer

[-] Wild_Mastic@lemmy.world 7 points 1 year ago

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)

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)
[-] Rentlar@lemmy.ca 66 points 1 year ago* (last edited 1 year ago)

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)
[-] PixxlMan@lemmy.world 57 points 1 year ago

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 12 points 1 year ago* (last edited 1 year ago)

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 8 points 1 year ago

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

load more comments (1 replies)
[-] kryllic@programming.dev 8 points 1 year ago

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)
[-] Ddhuud@lemmy.world 53 points 1 year ago

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

.

.

.

...

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 11 points 1 year ago

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 (10 replies)
load more comments (1 replies)
[-] Lazycog@sopuli.xyz 30 points 1 year ago* (last edited 1 year ago)

Wait what? What happens in jan 2024?

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

[-] Pfnic@feddit.ch 19 points 1 year ago

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

[-] ledtasso@lemmy.world 18 points 1 year ago

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

load more comments (8 replies)
[-] gratux@lemmy.blahaj.zone 17 points 1 year ago
[-] HolyDuckTurtle@kbin.social 10 points 1 year ago

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

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)
[-] pkill@programming.dev 13 points 1 year ago

Rooting for Bevy so much rn

load more comments (5 replies)
[-] tomjuggler@lemmy.world 11 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.

[-] pleasemakesense@lemmy.world 9 points 1 year ago

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 15 points 1 year ago

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

[-] FartsWithAnAccent@lemmy.world 7 points 1 year ago

Maybe you just need to drink more cranberry juice...

load more comments (5 replies)
load more comments
view more: next ›
this post was submitted on 14 Sep 2023
418 points (80.9% liked)

Programmer Humor

19809 readers
152 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