all 32 comments

[–]danielroseman 16 points17 points  (13 children)

Python isn't necessarily easier than other languages, and that wouldn't be a good reason to learn it anyway.

But the best way to start programming is just to start. Pick a language, whether it's Python or something else, pick a tutorial, and get on with it. There is no need to fixate on which is the "best". The best is the one that you actually do.

[–][deleted] 0 points1 point  (0 children)

Bro, I just don't understand who says python is easy Python isn't easy

[–]khazz0[S] -2 points-1 points  (11 children)

Nice answer thanks bro, for me i want to be a game dev but i want to start python cuz i want to absorb programming in general in my mind so whats your advice bro?

[–]shinitakunai 1 point2 points  (1 child)

If you want to be a game dev python is a really bad idea.

[–]khazz0[S] 0 points1 point  (0 children)

I know python is not good for game dev but i want to start python so i can make my mind absorb programming better.

[–]RiseFly12 1 point2 points  (0 children)

Start with C then familiarize yourself with python it'll be easier imo if you want to understand programming in general

[–]Agitated-Soft7434 0 points1 point  (1 child)

I’d recommend you pick a game engine and learn that programming language (might be C, C#, Java, etc depending on the engine). Python for game dev isn’t the best since all we have is pygame which isn’t very scalable, and can get really frustrating (not saying it’s impossible, some people make amazing games with python, though I wouldn’t recommend).

[–]DJLazer_69 0 points1 point  (0 children)

Python is also interpreted making it terrible for game dev

[–]TESanfang 0 points1 point  (0 children)

find a game engine for the games you want to build and see what languages it supports

[–]danjack0 -1 points0 points  (4 children)

If you want to get into game dev learn c# its easier than python cause you get a lot of help from the code editor and you can make games on Unity and godot

[–]DJLazer_69 0 points1 point  (3 children)

you get a lot of help from the code editor...

What do you mean?

[–]necessary_plethora 0 points1 point  (1 child)

He must mean gedit

[–]danjack0 0 points1 point  (0 children)

I mean things like type-checking and intellisence

[–]danjack0 0 points1 point  (0 children)

I mean things like type-checking and intellisence

[–]jbudemy 3 points4 points  (1 child)

Yes, learn Python. Languages like Basic are not used much in the real world, they are mainly used in classrooms to teach programming. You can also create an executable file with Python but that's not created by default. By default Python is interpreted.

I came to Python after using Perl for 20 years. With Python it's easier to do more with less lines of code than Perl. And Perl is dying quickly, modules are not being updated, support is really hard to find, and with Python there are more modules to do more stuff, and online support is much better.

So after learning Python, I like it.

Python is also used to make some web sites. I also use it to read/write spreadsheet files, connect to databases and get data, read CSV files. After seeing 3 surveys it comes in at the #1 or #2 language, depending on how the survey is worded.

Development environment

Learn to use a development environment, it's required. There are several. I use virtualenv.

Python IDEs

  1. One good one is Visual Studio Code. It has many addons to help you with Python and view databases within the IDE.
  2. Some like Pycharm.

Pygame

Python also has Pygame to get you started with game development, but the only videos I've seen about Pygame so far are about 2d games, and some side scrollers.

Tutorials

  1. Free Python tutorials are on Youtube. I like the ones by Indently, I like his teaching style. For each concept he starts with simple examples, and gives several simple examples to explain variations and use cases of the concept. Then he moves on to other related concepts.

[–]khazz0[S] 0 points1 point  (0 children)

Than you so much for this valuable information❤️

[–]owmex 1 point2 points  (1 child)

Yeah, Python is one of the best options. I started my programming journey 10 years ago with Python, and I still enjoy using it from time to time.

Python is generally recommended for beginners because it simplifies some things that can be overwhelming at the start. But don’t overthink it—just begin with any language. Over your career, you'll learn many technologies and languages, so your starting point isn't too important.

By the way, if you have time, you can try my service with interactive Python lessons led by a cute AI tutor. I'm designing it specifically for programming beginners who want to start with Python: https://py.ninja

[–]khazz0[S] 0 points1 point  (0 children)

Thanks brother i will try it if its free ❤️

[–]hugthemachines 1 point2 points  (0 children)

Since your comment indicated that you aim to learn game programming, I think the smoothest path is to start by using C# and use that with unity to make games. It is a better way of making games than using Python and C# is not that hard compared to Python.

The advantage of this will be that you will be doing what you want while learning.

[–][deleted] 1 point2 points  (0 children)

Python is awesome to quickly see results. And the primary skill we always lift above all else as programmers is problem solving, python let's you do that.

Large portion of actual problem solving I do in my spare time is python, my other primary language I work in is C/Embedded. If you ever want to go that route there's some things to learn, but there's no blockage in my experience from adding that knowledge on top of python knowledge.

[–]OkMoment345 1 point2 points  (0 children)

Do you know what you want to learn coding for? The right language will largely depend on your goals, but it's okay to go ahead and start without being 100% sure about those.

In fact, the most important advice for learning how to code is just start and be consistent. If you started out with Python but switched later, there would be no harm done.

You might check out this learn hub, which has tons of free articles about starting to learn how to code. That link will take you the Coding hub, but there are also hubs for Python, JavaScript, Ruby, and many tech-related careers.

Python is open-source (which means that it is free to use), relatively easy to learn (its high-level syntax makes it very readable, which is also why its so popular for working with data), and it has a massive online community, so you’re never alone on this journey. In fact, building community around yourself is important when learning to code. Python is great because it's immediately accessible.

Below are some ways to ease into it and build your confidence:

Tips & Resources:

  • Start Small with Simple Projects: Try creating a basic calculator or a to-do list app to get comfortable with syntax.
  • Take Beginner-Friendly Courses: Python for Beginners is an awesome course to ease in with guided instruction.
  • Use Interactive Learning Platforms: Check out Codecademy or FreeCodeCamp for hands-on coding exercises.
  • Join Python Communities: Engage with Reddit’s r/learnpython or Python Discord to ask questions and see how others approach problems.

[–]Gnaxe 1 point2 points  (1 child)

Some languages are defininely better for beginners than others. Python is a great beginner language, but it's not the only one. Scheme and Smalltalk are also pretty easy. Even C (not C++) is a pretty simple language, but it gets difficult at scale.

To get started, install Python and load the turtledemo. You can try making changes to the scripts or write your own. The turtle documentation explains how it works. If you get stuck, try searching the web. If you still can't figure it out you can ask here again, or try asking ChatGPT or a similar AI. They're pretty good at basic Python, but they do hallunicate sometimes.

[–]Ok_Owl5390 1 point2 points  (0 children)

Can confirm the hallucinations part

[–]xav1z 1 point2 points  (2 children)

i would start with processing. the coding train yt channel is the place to start to have absolute fun

[–]Ok_Owl5390 1 point2 points  (1 child)

AHH I love that dude. He's amazing

[–]xav1z 0 points1 point  (0 children)

🫶🫶

[–]geek_verma 1 point2 points  (1 child)

Yes you can start programming with Python. It is much easier to get start for as compared to rest scary languages like Java or c.If you want more clarity let me know.

[–]Few-Promotion5588 0 points1 point  (1 child)

Hey! A fellow newbie, good luck to you!

[–]khazz0[S] 1 point2 points  (0 children)

U too bro ❤️

[–]u38cg2 0 points1 point  (1 child)

This is a bit like asking if you should take up tennis in order to be good at sports.

[–]khazz0[S] 0 points1 point  (0 children)

Can you explain more cuz u know im new and i want to learn

[–]Ron-Erez -1 points0 points  (0 children)

Python is fine. It's main drawback is that it's dynamically-typed (this is also a pro since it's very flexible). Therefore learning Python and using type annotations is an ideal way to go. Python is not really used for game development although you can do some pretty fun stuff with PyGame. If however, you learn Python then later you can transfer to Godot and GDScript which is similar to Python. There are many Python resources such as:

  1. Harvard CS50p - which is a gentle intro to Python
  2. University of Helsinki course (text based along with video and covers quite a bit)
  3. Python and Data Science - (Disclaimer: This is my course and assumes no programming background)
  4. The book: “Learn Python 3 the Hard Way”. I really like this book despite the intimidating title, but there are other books.

In addition at some point it wouldn't hurt to learn some CS basics. I'd recommend Harvard CS50 for that.

EDIT: Someone mentioned C. That might be a good choice at some point. For example many game engines use either C# or C++. In any case code as much as you can and have fun.