Yeah, you are missing a few things. We’d like to be able to carry over our C# knowledge without having to relearn how to do things in C++ and worry about stupid stuff like header files. If I change the return type of a method, I don’t want to have to change it in two places, that is just more work where not needed. Also, to get members you use either .
, ->
, or ::
, which is also needlessly complicated when C# just uses .
for all of them and abstraction so I can think less about the code unimportant stuff. I love my syntactic sugar of C# and I just simply prefer to write in it. Anyone saying UE4 C++ is basically C# has basically never used C#. Sorry but the difference between C# and C++ doesn’t end at garbage collection
Congratulations!
You’ve just quoted someone from 2016.
I’m so sick of everyone saying that Unreal’s C++ is basically the same as Unity’s C#. Have you not used C# ever? C++ has annoying, ancient header files. C# has tuples and deconstruction, better syntax for generics/templates, properties, better compile time checking, implicit variable typing, handles everything with references in a much safer way without us having to use pointers, extension methods (and soon extension everything), expression body methods and other syntactic sugary goodness.
I just simply like it better. It’s not that C++ is too tough, it’s just out dated and tedious. The syntax is verbose and overcumbersome. Headerfiles are completely redundent, requiring me to make the change to a parameters list in two places, which violates one of the most basic rules of programming.
Talk to me about C# being redundent to add once they magically remove the need headerfiles.
Yeah, why the hate towards CSharp?!
CSharp is a very nice C++ application developed by very smart C++ programmers over there at Microsoft.
The problem here is that neither of both sides want to give up anything. And they fail to understand that they dont have to give up anything personally, yet it always ruins these kinds of discussions :rolleyes:
The huge fail is not there.
The huge fail is that people don’t realize how easy it is nowadays for one to develop his own programming language and as a result of how easy it is to extend an existing one. There are thousands of programming languages that technically “nobody uses” yet they make 50% of the code that exists out there.
That’s how C++ started as an extension of the C syntax.
While C# and .NET is the brainchild of the creator of Delphi back when Borland was still a company.
Both languages have been based on existing code bases and heavily borrowed from them at least concepts and ideas that tried to take them further.
You want C# in Unreal, none is stopping you, stop complaining do something about it. You want C++ as easy as C# stop complaining, fix the terribly bloated syntax. Bottom line is that one can talk about it or do something about it. Talking about it produces nothing of value. Including this post.