• Learning C#; Should I switch to C++?
    27 replies, posted
Hi! Yesterday I began my lessons on C#. I got a decent amount done in a few hours: if conditions, while loops, switch, and arithmetic, however I wanted to know if I should stop C# now and move to C++. Some people said C++ is more powerful, so does that mean I should learn it above all others? What kind of differences can I expect?
Not until you are comfortable with C#, its extremely easy to break things in c++ if you don't know what you are doing.
C# is on the push right now so it might become a really valuable skill
You can expect C++ to be harder. There's no garbage collector, for example. Not everything is references in C++, you'll have to learn pointers too.
[QUOTE=Kozmic;47631331]Some people said C++ is more powerful[/QUOTE] There is no reason whatsoever to learn C++ in my opinion unless you need to do something that can't be done in C#, and trust me when i say there is no such thing. And even then i'd go with C over C++. Just continue doing C#, you'll appreciate it one day.
[QUOTE=LennyPenny;47631499]C# is on the push right now so it might become a really valuable skill[/QUOTE] Don't let this make you think C# isn't already valuable; it's used heavily throughout already, they are just in the process of providing multi-platform support for it.
Multi platform already exists, just maybe not native one.
Thank you all for your replies! It really helped clear things up for me and I can't wait to get started learning more about the language, at least as far as Whitaker takes me before I jump to my own, are there any other resources you all would recommend?
[QUOTE=Kozmic;47633709]Thank you all for your replies! It really helped clear things up for me and I can't wait to get started learning more about the language, at least as far as Whitaker takes me before I jump to my own, are there any other resources you all would recommend?[/QUOTE] Are you going to C++ or C#
[QUOTE=Clivens;47634462]Are you going to C++ or C#[/QUOTE] Going to stick with C#
[QUOTE=cartman300;47632173]There is no reason whatsoever to learn C++ in my opinion unless you need to do something that can't be done in C#, and trust me when i say there is no such thing. And even then i'd go with C over C++. Just continue doing C#, you'll appreciate it one day.[/QUOTE] ue4
[QUOTE=robowurmz;47639170]ue4[/QUOTE] Nothing's forcing you to use C++.
When you master C#, you can always do same stuff in C++ just harder :).
There are some very good books on C# as well as very active people in the community such as Jon Skeet and Eric Lippert. I would recommend [url]http://goo.gl/PxUgQ4[/url]. That's a decent book to start out with and you can eventually move into things like C# In Depth by Jon Skeet and multitudes of other books such as Test-driven-development by Wrox for SDLC methodologies.
Wonderful information from you all! Cheers :)
[QUOTE=cartman300;47632173]There is no reason whatsoever to learn C++...[/QUOTE] are you fucking serious
[QUOTE=DeEz;47643630]are you fucking serious[/QUOTE] Maybe he doesn't know about DSP world.
[QUOTE=DeEz;47643630]are you fucking serious[/QUOTE] Yes. What i mean is there is no reason to learn is as your primary language, or be dedicated at learning C++. I never actually went "Hey i need to learn C++" and learned it yet i still know it. The knowledge easily transfers from other languages. And even then, there are languages that compile to C++.
[QUOTE=Kozmic;47631331][...] Some people said C++ is more powerful, [...][/QUOTE] This very much depends on the definition of "more powerful". In C# you'll get a lot more work done with a given amount of effort because it's more difficult to break things (and I think the standard library is better and C++ doesn't have the massively helpful coroutine features, but I could be mistaken about either of that). The upper limit for optimisation is definitely higher in C++, but usually that doesn't matter much or at all. There's a limit to how much you can solve by throwing more computing power at it, but it's easier to solve those issues by porting specifically high-performance code if it becomes necessary.
[QUOTE=Tamschi;47643992]C++ doesn't have the massively helpful coroutine features, but I could be mistaken about either of that[/QUOTE] Among others, Boost has a coroutine implementation, and Microsoft is making C# style coroutines a language feature in VS2015 (and trying to get them standardised).
Im debating to learn C#,or whatever I lack algebra,but i know i can learn how it functions without that. Also...As far as I know,C# maybe able to be harder to break,but I learned it has more Garbadge in it,making it a bad choice for the language and not something I want to be confident with if working on other software requireing Lua,C++,etc... Im more intrested in Unreal engine than unity... but if i can get into unity,id learn C# if i can maintain some good coding. still...Im still debating...though might need to learn functions and works of any coding.
Just stick with what you started.
[QUOTE=DarkZero779;47656462]Im debating to learn C#,or whatever I lack algebra,but i know i can learn how it functions without that. Also...As far as I know,C# maybe able to be harder to break,but I learned it has more Garbadge in it,making it a bad choice for the language and not something I want to be confident with if working on other software requireing Lua,C++,etc... Im more intrested in Unreal engine than unity... but if i can get into unity,id learn C# if i can maintain some good coding. still...Im still debating...though might need to learn functions and works of any coding.[/QUOTE] You dont know Algebra?
Learn C#, instead of wasting your time bickering on what to go with. First get a firm grasp on the concept of programming, and how it works. Then, when you are well prepared, you can look in to C++. A more powerful language tends to come with more pitfalls and annoyances. Mmh... Gamedevelopment in APL?
[QUOTE=Kirth;47662851]Learn C#, instead of wasting your time bickering on what to go with. First get a firm grasp on the concept of programming, and how it works. Then, when you are well prepared, you can look in to C++. A more powerful language tends to come with more pitfalls and annoyances. Mmh... Gamedevelopment in APL?[/QUOTE] A Good point,but still.I Tend to see otherwise,but maybe ya bring that. So might as well...
[QUOTE=DrTaxi;47651104]Among others, Boost has a coroutine implementation, and Microsoft is making C# style coroutines a language feature in VS2015 (and trying to get them standardised).[/QUOTE] Not all algebra is simple linear / quadratic equations [url]http://en.wikipedia.org/wiki/Elementary_algebra[/url] and even then radical and logarithmic equations can prove quite difficult. If you get unreal numbers, limits, polynomial equations etc its even more tough. [editline]7th May 2015[/editline] Some more info if interested : [url]http://en.wikipedia.org/wiki/Algebra[/url]
[QUOTE=quincy18;47676421]Not all algebra is simple linear / quadratic equations [url]http://en.wikipedia.org/wiki/Elementary_algebra[/url] and even then radical and logarithmic equations can prove quite difficult. If you get unreal numbers, limits, polynomial equations etc its even more tough. [editline]7th May 2015[/editline] Some more info if interested : [url]http://en.wikipedia.org/wiki/Algebra[/url][/QUOTE] are you sure you replied to the right post
[QUOTE=Clivens;47639879]There are some very good books on C# as well as very active people in the community such as Jon Skeet and Eric Lippert. I would recommend [url]http://goo.gl/PxUgQ4[/url]. That's a decent book to start out with and you can eventually move into things like C# In Depth by Jon Skeet and multitudes of other books such as Test-driven-development by Wrox for SDLC methodologies.[/QUOTE] Oh man, Jon Skeet has learned me so fucking much it's ridiculous.
Sorry, you need to Log In to post a reply to this thread.