Complete beginner

Started by
14 comments, last by DZee 11 years, 9 months ago
Thanks for all the help and advice! I'm going to get a book on C++ I think, and try and work from there. This time though I'm going to approach it differently I think.

I'm going to order this book http://www.amazon.co.uk/gp/offer-listing/1435457420/ref=sr_1_1_olp?ie=UTF8&qid=1342638656&sr=8-1&condition=new and see how I get on with it. If all else fails, I'll have a look at different languages such as Python and C#.

Any more advice feel free to add on! Thanks guys!
Advertisement
I would at least take a look at c#.

It's a lot easier to put something with a GUI together FAST with it...and if you are using VS2010 intellisense works better with c# than c++, which makes the learning curve a bit smoother (although relying on it too much can bite you in the ass later).

The blessing and curse of c# is that it has automatic garbage collection...which is nice when you do not need or want absolute control over memory, but sucks when you want to micromanage and squeeze as much performance out of your program as possible.

I'm not trying to sell you on either language...I just recommend that you experiment and keep your mind open.
C++ is a great language, I've been using it for 20+ years. Don't try an learn it as a first language, it will destroy you.

C#, VB, etc are really cool languages, but the sheer volume of library functions is enough to put anyone off.
Python also has a lot of libraries and again this can cause issues when it come to learning. Also (since I guess you ultimate aim is to learn C++) it has a number of un-C++ like areas that might cause you issues when you try and move over.

JavaScript is probably quite a good place to start. It has no cost, Firefox and notepad will get you going and you can get quite complex with it. I think it will be quite easy to get to grips with thinking like a programmer, which is what you really need to learn, not the language, also its quit C like. (see www.w3schools.com)
Perhaps try give scripting a go. Jump into something like PHP and try apply Programming Concepts there, as you build your confidence you can jump around into C++,

I'm repeating myself alot - I suggest this book to everyone lol smile.png But read up on Professional C++ (Marc Gregoire, Nicholas A. Solter, Scott J. Kleper) 2nd Edition. It will teach you HOW to program, and how to program in C++. Alot of beautiful organized information that can help you go in the right direction.

As you say your completely new to programming, the issue isn't learning C++. First you need to know how to program. Pick a simple language, and learn how to program.

Game programming is difficult, its not just Programming moving Pictures - theres a whole unity of systems and tecniques in place, so while yes - even if you program boring applications like a word processor, or a messenger - these are all concepts you can use and apply to game programming to. (EG Multithreading, Networking, Program Flow & Control, Streams - File Loading/Saving)

Best wishes to you

C++ is a great language, I've been using it for 20+ years. Don't try an learn it as a first language, it will destroy you.

C#, VB, etc are really cool languages, but the sheer volume of library functions is enough to put anyone off.
Python also has a lot of libraries and again this can cause issues when it come to learning. Also (since I guess you ultimate aim is to learn C++) it has a number of un-C++ like areas that might cause you issues when you try and move over.

JavaScript is probably quite a good place to start. It has no cost, Firefox and notepad will get you going and you can get quite complex with it. I think it will be quite easy to get to grips with thinking like a programmer, which is what you really need to learn, not the language, also its quit C like. (see www.w3schools.com)


I have been working with JavaScript quite a bit lately, between some Appcelerator mobile work, using JavaScript server side with Node and even writing a HTML5 w/ cocos2D tutorial series. So I've put a lot of thought recently in JavaScript / HTML5 as a beginner platform.

First let me say, JavaScript is a much maligned language. It is much better than many people give it credit.

That said:

- most of the tutorials are really bad.
- much of the language is really bad.
- HTML/CSS is a right stupid platform.

These three combinations make it very hard to recommend to a beginner.

The biggest negatives to JavaScript are:
- it's FARRRRRRRR to easy to create globals.
- data hiding is crude at best

Actually those two are reason enough for me to recommend a new developer stay away, but there are more reasons. One, it's not a classical OO language, its a prototype based language, and there are very important differences. This isn't a "bad thing", but it is a confusing one for new developers, especially new developers that want to move on to 4g OO languages. There are some downright confusing aspects too... the rules around super and this are almost byzantine enough to make the C++ designers blush!

Then there is HTML5, which is a gigantic hackjob of a platform. You can make it work, and it can do some powerful stuff, but a new developer shouldn't be hacking out things just to make it work.


Dont get me wrong, I like HTML5 to a degree, and JavaScript is actually quite fun. I just wouldn't say that's true for a beginner.





.... still better than C++ though.

If you do go the JavaScript route, there are two books that should be on your must buy list. JavaScript:The Definitive Guide followed by ( seriously followed by, this isn't a beginner book, but it's the closest thing JavaScript has to Effective C++ ) JavaScript:The Good Parts. Warning though, the author in the second book comes across like a gigantic dick. You know it's a good book when I read it and thought "Wow, this guy is a massive arrogant prick"... but still finished it and recommend it to people! Oh, plus it's short and cheap. I reviewed both of them earlier, and these books are pretty much all you need to work with JavaScript should you decide to go that route.
I recommend Head First : Java 2nd edition, it will hold your hand all the way to using Objects. The book is very interactive with lots of illustrations. Although you know, if you are someone like me that likes to procrastinate and do everything but something productive it can be difficult to learn by yourself.

I can say many times that I'd read a chapter and almost always close my eyes and fell into a deep sleep. Thankfully I went into CS at school to push me into learning more.

[size=1]I "surf" the web, literally.

This topic is closed to new replies.

Advertisement