GPWiki.org
GPWiki.org
It is currently Mon May 20, 2013 11:46 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Python or C++?
PostPosted: Tue Jul 26, 2011 12:35 pm 
I'm kind of new to programming, I know some Python and some C++, but all in all I was wondering which should be a focus for getting started into developing games. Any sort of input on this would be greatly appreciated.


Top
  
 
 Post subject: Re: Python or C++?
PostPosted: Tue Jul 26, 2011 6:33 pm 
King Code Monkey
User avatar

Joined: Wed Sep 01, 2004 3:05 pm
Posts: 11182
Location: Abingdon, MD
The answer is whichever one you feel more comfortable using. There is no other right answer.

_________________
Bored? Head on over to my blog and see what I'm up to.

Microsoft XNA MVP


Top
 Profile  
 
 Post subject: Re: Python or C++?
PostPosted: Tue Jul 26, 2011 7:01 pm 
Dexterous Droid
User avatar

Joined: Wed Aug 18, 2004 7:40 pm
Posts: 3735
Location: South Africa
If you're new to programming Python will be easier to get into. C++ error messages are pretty esoteric at best and there are some nice tutorials for python out there.

_________________
Whatever the mind can conceive and believe, it can achieve


Top
 Profile  
 
 Post subject: Re: Python or C++?
PostPosted: Wed May 23, 2012 4:16 pm 
It depends a lot on what kinda game you wanna make and on which platforms you want the game to run.

Python is great for making portable games but don't expect to make something too complex with it because remember, it's interpreted and a very high level language.

If you're looking to make big complex games, you should use both C++ and Python. You write complex stuff in C++ and do simple scripting with Python.

C is also a nice language, you can use it if you think you won't be using to many external APIs and libraries.


Top
  
 
 Post subject: Re: Python or C++?
PostPosted: Wed May 23, 2012 6:24 pm 
kennydiskord wrote:
I'm kind of new to programming, I know some Python and some C++, but all in all I was wondering which should be a focus for getting started into developing games. Any sort of input on this would be greatly appreciated.


As programmers, qualities/properties from our code that we want are Maintainability and Correctness.

Maintainability - To efficiently alter/develop our code.
Correctness - To work as designed.

To be able to maintain, we must be able to clearly read our code (and hense the importance of the choicen programming language).

Program languages come in many paradigms, ways of thinking to help us understand the code.

I am a 'Object Oriented' person myself, and i think its pretty universal for games to be made in OO languages.

There are many OO principles which can help you create maintainable code, So i suggest your first step is to pick your paradigm(/way of thinking) and learn the skills to use that style to your benefit.

"With a good design, implementation is trivial"
Correctness requires an understanding of what it should do. make it formal and make a design. i can not stress enough how important it is.

The design steps will take you the longest, Some people are able to design on scrap paper or in their heads, but any large scale project will require proper design documents that you can scrutinize, checking for blunders or errors.

How you design will depend on paradigm, even then it is still very subjective. So your second step will be to understand how and what documents you want to create to describe your design.

Good luck.
Mike Brown [cxzuk]


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group