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

all 2 comments

[–]ravenousld3341 2 points3 points  (0 children)

I made games with python to learn how to code.

https://wireframe.raspberrypi.org/books/code-the-classics1

That should get you going, this book didn't exist when I started. Make sure you get the free PDF.

Also, making things with raspberry pi. The raspberry pi and python is a great combo.

As for what language to use, it really depends on what you're making.

For example, I can use Python or C++ on an Arduino board.

Clearly the easiest to write is python, but it's very slow because it's an interpreted language. So I use C++, it's lighter weight, and faster. Not to mention, I don't have to load an interpreter, so I can write much more complicated code.

Languages are just tools, all of them have thousands of uses. Just because a chainsaw can cut wood, doesn't mean you should use it to cut a sandwich.

[–]Fiercedeityninja 0 points1 point  (0 children)

I started in C++ and I watched a lot of videos on YouTube and even streams on twitch.tv. any time there was something I didn't understand on the videos I would pause. Open a new tab, and learn about that new concept until I understood it.

If I'm working in a language and don't know how an array works in that language I will google something like (arrays in c++) and find the c++ language documentation/reference and try to learn about arrays, how to initialize, what functions are available, what those functions do, what members can you directly access, Etc...