Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#Actualkunos

Posted 11 July 2012 - 05:07 AM

No it is not impossible, and C++ is not the little baby eating monster like some people seem to suggest.

but

You are not doing yourself a favour choosing it as your first language. I think C++ has lots of things going that make it hard to get into:

1) It is HUGE. The point of C++ is to give you as much freedom as you want regarding programming paradigms and to try to never sacrify performances for that. This create some monsters, "my" C++ is vastly different from somebody else's C++. Most companies need to have "guidelines" to avoid coders going out to strange programming paths with C++. I came to love the simplicity that languages like Google Go offer.. a small, clear and elegant language that you can learn in 2 weeks and in which everybody's code looks much more similar.

2) Lots of things make sense from a compiler point of view, but from a user point of view, they don't make sense at all. ie, forward declarations, headers, non initialized variables.

3) Often C++ libraries and tools are targeted to "real men" Posted Image Take DX11 as an example, no model loading, no font rendering, no scene management, geeky fullscreen management, no shader high level support. It's like, as a C++ programmer you are expected to do more work yourself. Compare this with things like XNA and you will see the different approach.

4) C++ is changing, C++11 (the new standard) just came out and brings a lot of changes in how things should be approached. But, at the moment, there is no book about C++11, so, most probably, you'll learn to do things in a way that will be considered "wrong" or "old" in a few months.

To recap, I'd suggest you to take a step back, and consider C# and especially Go as your introduction to programming.

#1kunos

Posted 11 July 2012 - 05:04 AM

No it is not impossible, and C++ is not the little baby eating monster like some people seem to suggest.

but

You are not doing yourself a favour choosing it as your first language. I think C++ has lots of things going that make it hard to get into:

1) It is HUGE. The point of C++ is to give you as much freedom as you want regarding programming paradigms and to try to never sacrify performances for that. This create some monsters, "my" C++ is vastly different from somebody else's C++. Most companies need to have "guidelines" to avoid coders going out to strange programming paths with C++. I came to love the simplicity that languages like Google Go offer.. a small, clear and elegant language that you can learn in 2 weeks and in which everybody's code looks much more similar.

2) Lots of things make sense from a compiler point of view, but from a user point of view, they don't make sense at all. ie, forward declarations, headers, non initialized variables.

3) Often C++ libraries and tools are targeted to "real men" :D Take DX11 as an example, no model loading, no font rendering, no scene management, geeky fullscreen management, no shader high level support. It's like, as a C++ programmer you are expected to do more work yourself. Compare this with things like XNA and you will see the different approach.

To recap, I'd suggest you to take a step back, and consider C# and especially Go as your introduction to programming.

PARTNERS