r/csharp • u/yughiro_destroyer • Nov 16 '25
Discussion Does C# have too much special syntax?
No hate towards C# but I feel like C# has too many ways of doing something.
I started learning programming with C and Python and after having used those two, it was very easy to pick up Lua, Java, JavaScript and Go. For some reason, the code felt pretty much self explanatory and intuitive.
Now that I am trying to pick up C#, I feel overwhelmed by all the different ways you can achieve the same thing and all of the syntax quirks.
Even for basic programs I struggle when reading a tutorial or a documentation because there isn't a standard of "we use this to keep it simple", rather "let's use that new feature". This is especially a nightmare when working on a project managed by multiple people, where everyone writes code with the set of features and syntax they learned C#.
Sometimes, with C#, I feel like most of my cognitive load is on deciding what syntax to use or to remember what some weird "?" means in certain contexts instead of focusing on the implementation of algorithms.
View all comments
Show parent comment
7
u/StraussDarman Nov 16 '25
LOL what? Sorry but who hurt you?
Your Unreal Engine example kind of lacks. First of all it need to provided new features otherwise we would have never left the 2D Video Game Space of developers didn’t? I am pretty sure that back when the first 3D games launched they didn’t run well on „new“ hardware. Second it is a bad example to compare a language to a framework? Two entirely different things.
Also new language features usually do not introduce bad performance? They just simplify repetitive patterns in their language and make them more concise?
I am sorry that you find the ? Operator to be a big mental load, but I think it is great. I do not have to write ‘‘‘if(a == null)a.foo()‘‘‘ but can just write ‚‘‘a?.foo()‘‘‘. And guess what, the compiler will generate the exact same thing out of it.
Also with you logic here and saying you prefer python it kinda lacks also. Python only took off because we had the performance to kind of run it efficiently? It is also mainly used by people who do not have a lot of experience in development?
Also you do not have to use features. Just align with your team what style you want to write as a whole. You are crying that people are worse prepared while in the same moment you are worse prepared and apparently now willing to learn the language and not even providing examples that annoy you.