Archived

This topic is now archived and is closed to further replies.

Is python suppoed to be so easy?

This topic is 5045 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

I''ve been studying C++ for the past 1 1/2 years and after some extensive conversation in the Game Programming forum, I''ve decided to learn a scripting language to incorperate with my games. I chose Python. I downloaded the tutorial from python.org and in less than 30 minutes, I''ve been able to skim through the first 30 pages of it and I''m able to understand 90% of it all. Is this what learning a new language like? Easy?
R.I.P. Mark Osback Solo Pa Mi Gente VG-Force Ekim Gram Productions

Share this post


Link to post
Share on other sites
I have learned that the hardest part of learning programming is getting your head around the basic concepts of programming: dataypes, conditional expressions, looping, user defined types, memory concepts, etc.

Once you have the basics, its really only a matter of learning the syntax of a new language. At least until you get into the more advanced stuff.

Share this post


Link to post
Share on other sites
Yeah, few modern programming languages are difficult to learn once you''ve already learned a couple. Python uses some slightly odd punctuation in places, which might initially throw you for a loop, but it''s not going to put up much of a fight.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites
Don''t have much experience with Python, but I do remember learning Smalltalk after C++ and Java. Continually I would come up to something that just seemed too simple and I''d be like "Is it really that simple?" Yes it is. "But, in C++ I had to..." Yes, this is true. "Even in Java, I still had..." Yes, but there''s no need for that here. "So... why would they make it so hard?" Well, it makes it somewhat faster, but in most cases that doesn''t matter.

I''ve had the same experience with other languages (Haskell, for instance) and I''m guessing that it''d probably be the same with Python.

Share this post


Link to post
Share on other sites
Python is really easy and very powerful. The only problem is when it comes to embedding the language and making your C++ data avalible to python(for scripting). There was too much too deal with and i really didnt have too much time to learn boost.python(i think that is what it was called). As you know im worknig on an RPG with a couple of non-programming friends and needed a scripting engine for them to program all the desing based stuff(dialogs, battle sequences, all the annoying stuff i dont want to deal with). So i looked up Lua. Lua is a smaller simpler language and is very easy to implement with C++. Its a newer language than Python so it less documentation. Python has too many features that i know my non-programming friends wont ever use. So im using Lua.

www.lua.org

Share this post


Link to post
Share on other sites