419
you are viewing a single comment's thread
view the rest of the comments
[-] PixxlMan@lemmy.world 78 points 11 months 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 16 points 11 months ago* (last edited 11 months 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!

[-] Cethin@lemmy.zip 4 points 11 months ago

Unity used to also have UnityScript, but it's deprecated. It was like JS, but it wasn't really used by many people compared to C#.

[-] Elderos@lemmings.world 1 points 11 months ago

I am curious, what exactly is missing in the latest LTS version from .Net what makes it so clunky to use for students? Afaik it is pretty solidly close to actual .Net 4.7 nowadays.

[-] dylanTheDeveloper@lemmy.world 10 points 11 months ago

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

[-] dukk@programming.dev 7 points 11 months ago

I mean you’re right, but I’ve never met anyone who thinks that way. C++ is everywhere (although C++ itself is just a hot mess of a language imo).

[-] dylanTheDeveloper@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

C++ is pretty good by itself but I end up using mostly C for actual functions, QT, wxwidgets and a few others utilise C++ to a degree but my god does it get messy without the help of a visual aid (blueprints, formbuilder etc)

[-] kryllic@programming.dev 9 points 11 months 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.

[-] Eloise@lemm.ee 6 points 11 months ago

Can confirm as someone who did exactly that before starting over with c++

[-] Elderos@lemmings.world 3 points 11 months ago

It is pretty damn close to actual C# nowadays. Some version, I think it was 2019, really upped up the scripting backend.

[-] xantoxis@lemmy.world 8 points 11 months ago

Not to mention C# is also the best way to write a Godot project.

this post was submitted on 14 Sep 2023
419 points (79.6% liked)

Programmer Humor

18907 readers
549 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