Jump to content
  • Advertisement
Sign in to follow this  
Bromordra

Programming Fundamentals

This topic is 3487 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I'm thinking about getting into game programming/design and have been learning C++, but the book I'm learning from is quickly going over my head. Do any of you know some good resources on programming fundamentals, like the basic concepts behind programming? The book I am using seems to assume I have programmed before, and I have not. EDIT: Forgot the subject.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by DevFred
Any particular reason you have chosen C++ as your first language?


It's what my brother had laying around and what I have been told by many to be the best language to program in.

Share this post


Link to post
Share on other sites
Unfortunately, there is no best language. When choosing a starting language, there are ones that I would say are quite poor at this. C++ is a particularly bad offender, IMO. Once of the core design philosophies that C++ was built around is "the programmer is always right". This is rarely true in practise, and certainly false in the case of a beginner.

A good programmer will be fluent in many languages. Even if your goal is to learn C++, that doesn't mean you have to learn it first.

I would recommend Python or C# as beginner languages. In particular, I believe Python would get you learning the "basic concepts behind programming" without dealing with a lot of the complexity that C++ brings to the table.

That said, if your brother is a good C++ programmer it might be an idea to use it, as you would have a ready source of help. This assumes you two get along [smile]

Share this post


Link to post
Share on other sites
Quote:

That said, if your brother is a good C++ programmer it might be an idea to use it, as you would have a ready source of help. This assumes you two get along [smile]


Heh, I only said he had it laying around the house, I never said he ever read the thing. But on the subject of other languages, I looked into python, and it does look easy. Is python as good at programming games as C++? Sorry if this is a stupid question, I'm really just trying to learn.

Share this post


Link to post
Share on other sites
Webmonkey.com has a lot of good tutorials that show and explain things... javascript is a nice quick way to learn a lot of the basic concepts of programming.

Share this post


Link to post
Share on other sites
Python is quite a capable language. It has a few nice libraries for graphics (or so I have heard). You probably would struggle to write Doom 4 in it, but a beginner is going to struggle writing such a game regardless of the language [smile]

Share this post


Link to post
Share on other sites
Quote:
Original post by Shannon Barber
I think Basic is the best language to get started with. The reason is sorta in the name.

...

I don't think C nor python are great for a true beginner, the syntax of both is esoteric.

You think the syntax of Python is more esoteric than BASIC?

:sigh:

People, Python's syntax is simple. The only thing that is "esoteric" about it is that whitespace is significant. This really isn't a big deal, because most readable code indents consistently anyway. In other words, Python teaches you to write well-formed, readable code by virtue of readability being a prerequisite for syntactic correctness.

Visual Basic.NET is a red-headed stepchild. Tons of .NET libraries don't work properly or fully with it, because it lacks language features that C# does. Python is a clean, object-oriented language that possesses powerful constructs yet imposes no organizational restrictions on code - you don't even have an entry point, and execution begins at the top of the file! Despite this simplicity, it has modules, classes, metaclasses, reflection, introspection, closures and much, much more.

Python is a much better beginner's language than BASIC.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!