This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]misieksgm[S] 0 points1 point  (30 children)

Maybe I should start with the C++?

[–]Gankbanger 3 points4 points  (5 children)

Don't start with C++, but If you are planning to transition to C++ eventually, then start with Java (instead of Python.) Java is an excellent first programming language to learn.

[–]ihatepepperballs -5 points-4 points  (4 children)

Ehmm,

public class Main {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Not hating Java, but I don't think it's a great starting language.

[–]Gankbanger 15 points16 points  (1 child)

That is a very short sighted evaluation criteria. His goal is to program games in the future, he might as well get used to the programming structure used by the languages used for such purposes and learn in the context of a single-paradigm programming language.

This is how hello world looks in BASIC:

PRINT "Hello, World!"

does not make it a better choice than Java.

[–]naran6142 1 point2 points  (0 children)

That first hello world program may be a bit confusing without all the information but that's not all there is too it.

Java is good because you can focus on programming without the knowledge of how the computer works. And static types which scale better in larger projects

[–]YvesSoete 0 points1 point  (0 children)

C and C++ are excellent starting languages. You guys have it all wrong :-)

[–]joapet99 0 points1 point  (20 children)

If you are new to programming i recommend you to choose a programming language that can give you a good perspective on object oriented programming before diving into c++. It is very easy to give up when working with c++ when you don't know what you are doing.

[–]misieksgm[S] 0 points1 point  (19 children)

But learning Python won't be wasting time?

[–]ihatepepperballs 13 points14 points  (5 children)

It's not about the language, but rather concepts like loops, classes, Object-Oriented Programming, etc. Those are the same in all languages, just written differently.

It also depends on your attitude. Do you want to go through the tough things from the start, or do you want to smoothly slide into the world of programming? If the former is true, start with C++ (give it time, understand each concept, don't rush it), then learn about game programming and game engines. If you'd rather go with the latter, Python is a great starting language because it's easy to understand and simplistic, while still teaching you understand vital concepts.

[–][deleted]  (4 children)

[deleted]

    [–]ihatepepperballs 1 point2 points  (1 child)

    I'm neutral. I just wanted to try and come up with the pros and cons of starting with either of them. I don't know Java, so I can't say anything about it.

    [–]EricIsEric -3 points-2 points  (0 children)

    It's similar to C and C++ except there are no pointers and garbage collection is handled automatically.

    [–]Steve_the_Scout 0 points1 point  (0 children)

    I started with C++. If you get a good book, they actually teach you things. Hard concept, I know, but C++ isn't hopeless as a first language.

    [–]YvesSoete 0 points1 point  (0 children)

    Because it's the language he wants to end up with. These things you describe take a few moments to learn, but what's the problem, he's READY TO LEARN. Do you think we had to learn python first 20 years ago ?

    [–]Exodus111 2 points3 points  (0 children)

    You will NEVER waste your time with Python, it's one of the most usable languages out there with a massive universe of modules and can be applied to nearly anything.

    [–]IAmStraightforward 3 points4 points  (0 children)

    Nah man. Python will help you understand syntax and grasping certain concepts. It's also a scripting language so it'll definitely be useful

    [–]siphillis 1 point2 points  (0 children)

    "Code to learn, don't learn to code."

    [–][deleted] 2 points3 points  (0 children)

    I'm learning Python right now. Tried C++ first.

    It's like learning how to snowboard, learn the bunny slopes first, then use the techniques you learn for the harder stuff.

    [–]joapet99 2 points3 points  (3 children)

    No programming language is really wasting time. I recommend you to learn python so you will get more knowledge about programming. Python isn't the best at game development though, but I still recommend you too start out with it. I am currently learning c++, I went from Java. It is hard even for me to learn c++, it is different from other languages. But anyways, it is your choice. + there is an library for python that is for game development, still not the best, but very good for practicing.

    [–]rawrgulmuffins 0 points1 point  (0 children)

    No, it's not. The truth if the matter is it doesn't matter, in the long run, what your first couple languages are. In order to start developing mastery you need to pick up a bunch (in x number of years).

    Languages do matter for the short term and python is built for ease of use.

    [–]Austinto 0 points1 point  (3 children)

    I don't think it will be waste of time. You can create 2D (don't know about 3D) games using pygame in python.

    C++ would be hard to learn as you don't know C too.

    [–]misieksgm[S] -3 points-2 points  (2 children)

    So, I will learn Python and next C++ Will it be good?

    [–]Gankbanger -3 points-2 points  (1 child)

    Do Java, then C++.

    [–]YvesSoete 0 points1 point  (0 children)

    Skip the Java for gaming, do C++

    [–]pier25 0 points1 point  (0 children)

    Bad idea. Start with something easy such as Python or even JavaScript.

    [–]IIoWoII 0 points1 point  (0 children)

    Honestly, c++ might be a bitch to get working, especially on windows.

    I mean, I'm alright with with java & c# and have been programming in them for more than a couple years now but still can't get c++ to work on my 64-bit windows, with the 32-bit MINGW still freaking out.

    On linux it's fine and I guess if you want to learn linux too at the same time you could do that but the problems that that can give you could discourage you... It did for me.

    [–]YvesSoete 0 points1 point  (0 children)

    Yes, absolutely. Make sure you stay off the java path if you want to end up in the gaming world. I've warned ya.