Which is better and easier to learn? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Which is better and easier to learn?

Which is better and easier to learn? C++ or C#?

2nd Aug 2019, 11:06 PM
SpaceJunk
SpaceJunk - avatar
14 Respostas
+ 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.
19th Aug 2019, 2:32 AM
David Carroll
David Carroll - avatar
+ 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. šŸ˜‰
19th Aug 2019, 3:02 AM
David Carroll
David Carroll - avatar
+ 6
Some may say C# is easier than C++.
3rd Aug 2019, 1:26 AM
Sonic
Sonic - avatar
+ 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++.
19th Aug 2019, 5:39 AM
Brian
Brian - avatar
+ 5
Python is easier than both. It's best modern programming language. But in here I think CPP is much easier than C sharp.
3rd Aug 2019, 4:03 PM
Rajnish Kush
Rajnish Kush - avatar
+ 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.
19th Aug 2019, 4:15 AM
Sonic
Sonic - avatar
+ 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. šŸ˜‚šŸ¤£
19th Aug 2019, 6:19 AM
David Carroll
David Carroll - avatar
+ 3
C++ is easier than C#.
3rd Aug 2019, 12:06 AM
NightFox
NightFox - avatar
+ 3
Gordon I feel like Python is not easy because I keep forgeting functions and all that.
3rd Aug 2019, 12:54 AM
SpaceJunk
SpaceJunk - avatar
+ 3
Thank you all! I really appreciate you guys helping me! I am now doing Unity and C#. Thank you!
8th Sep 2019, 11:06 PM
SpaceJunk
SpaceJunk - avatar
+ 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
2nd Aug 2019, 11:08 PM
Gordon
Gordon - avatar
+ 2
C# is more easier than C++ I guess so
4th Aug 2019, 6:18 PM
Yabetsa
Yabetsa - avatar
+ 1
C++ is easier than C# , C++ is mother of all and the basic one
4th Aug 2019, 5:09 PM
Naveen yadav
Naveen yadav - avatar
0
Please I donā€™t understand
3rd Aug 2019, 3:49 PM
fuaad