+ 2
Which is better and easier to learn?
Which is better and easier to learn? C++ or C#?
15 Antworten
+ 15
What kind of answers are these to this question? 🤦♂️
Different Answers Posted:
- C# is easier than C++.
- C++ is easier than C#.
- Some say one is easier than the other.
- Python is easier than both. 🤦♂️
What is going on here? I can only imagine anyone reading these answers must be thinking what the heck. 🤷♂️
Please people... give some explanation on why one language is easier than the other. More than anything, qualify whether or not you are speaking from personal experience or if it's what you've heard to be the case. (Thanks Sonic for clarifying that in your answer. 😉 🙏)
We can do better than this as a community. We need to do better than this.
SpaceJunk Apologies for posting my rant here. I'll follow-up with an answer to your question shortly.
+ 7
SpaceJunk
I encourage you to review ALL of these well constructed answers as they all align with my own experiences.
https://www.quora.com/Is-C-harder-to-learn-than-C++/answer/Chris-Nowicki
https://www.quora.com/Is-C-harder-to-learn-than-C++/answer/Jerry-Coffin-2
https://www.quora.com/Is-C-harder-to-learn-than-C++/answer/Jesper-Madsen-4
https://www.quora.com/Is-C-harder-to-learn-than-C++/answer/Christopher-Susie-1
For me... C++ was more difficult to learn because pointers can be tricky, there is a lot more coding with headers, templates, and general syntax than I prefer.
Basic C# is simple to learn and is similar to Java. But LINQ, Generics, Reflection, lambdas, async / await, etc may take some effort early on. While the .NET Framework is vast and comprehensive, it's very consistent, intuitive, easy to recall as needed, and impressively amazing.
For me, C# is my preference to work with by a long mile. The language is just pure elegance and a complete joy to work with.
But, this is only my opinion. 😉
+ 6
Some may say C# is easier than C++.
+ 6
I started learning C++ after several years of professional experience in C and Objective C and I found C++ to be difficult to learn and use. For me, permissions, scope and templates are too subtle. It is too easy to misunderstand the author's intent. I have asked fellow C++ developers - some of whom I admired as experts - whether they ever felt comfortable using C++. They all answered "No."
I say C# is the answer. I am as comfortable with it as I was with C, though I would echo David Carroll's comments about some aspects that take extra effort to learn. Once you learn them, they are straightforward to use. I don't feel that way about C++.
+ 5
Python is easier than both. It's best modern programming language.
But in here I think CPP is much easier than C sharp.
+ 4
I have very limited experience in C#, virtually limited to the SL tutorial but based on the impressively amazing experiences of David Carroll and others I would one day like to dabble more in it if I can find the time. I have a bit more experience working with C++. I like the fact that not everything needs to be an object in C++, so for the simplest of programs maybe I would prefer C++ or even C. The same applies if you want to have a smaller footprint like in embedded systems. So, in these limited contexts, I think C++ is better/easier. However, when it comes to enterprise software, I think that the elegance of C# (now being multi platform and a better Java perhaps) makes it better and easier (in not having to deal with memory management etc.). When it comes to learning in general, what is better/easier I think is mostly subjective.
+ 4
Brian Thanks for sharing that insight. I'm glad to know it wasn't only me who felt like C++ required more effort to learn. Just as you pointed out for yourself, it is effortless to code in C# for me. Those more challenging parts I listed were from what I recall others sharing with me. I honestly can't even recall how tough it was for me to learn, it's been so many years ago. 😂🤣
+ 3
C++ is easier than C#.
+ 3
Gordon I feel like Python is not easy because I keep forgeting functions and all that.
+ 3
Thank you all! I really appreciate you guys helping me! I am now doing Unity and C#. Thank you!
+ 2
Python is easy to learn. JavaScript is best to use if you code with SoloLearn app only.
A more appropriate question will be "Which programming language is useful to me?"
What to learn next by Bono
https://code.sololearn.com/Wukw9beaMo55/?ref=app
+ 2
C# is more easier than C++ I guess so
+ 1
C++ is easier than C# , C++ is mother of all and the basic one
0
Please I don’t understand