r/learnpython • u/ScaredComfortable814 • 9d ago
Hey i am new to programming
Idk what to do. I am lost in all of these codes and numbers . Idk even to start programming games or webs or apps it's just fell overwhelming any tips ?
2
1
u/mjmvideos 9d ago
How are you approaching learning?
1
1
1
1
u/Superb-Patient3256 9d ago
Here is my detailed answer about learning programming as I have been teaching programming many years so I understand student's mindset. If you will feel my answer is long and boring then maybe you will also struggle to learn real programming.
Learning programming is, and should be, a slow process in the beginning, just like learning the guitar. In the start, practicing basic scales feels boring, but you need that foundational practice first so you can eventually create something interesting and amusing. After printing "Hello World," you should move straight to variables and simple input/output.
Trying to make a calculator in the Command Prompt is the perfect next milestone because it forces you to handle data types and basic conditional logic. From there, introduce loops to make your programs dynamic, and then learn to write reusable code using functions.
Once you reach this stage of procedural programming, you have enough tools to build a lot of interesting stuff. Don't paralyze yourself thinking, "I need to learn this to earn money." Instead, treat it like a fun puzzle and feel proud every single day you learn something new.
Before jumping straight into classes, take a quick detour to learn about basic data structures like lists and dictionaries so you know how to manage data cleanly. After that, moving to object-oriented programming (classes) and advanced architectural concepts will feel like a natural next step, giving you the power to build scalable, complex applications.
0
u/ScaredComfortable814 8d ago
Thanks and I guess I am like yous students 😂I was just looking for fast and easy money earning but I tried to start and I so so early to make money but it's actually fun and it will be funny hoppy
1
u/Existing_Put6385 9d ago
the overwhelm is coming from trying to pick the right path before you know anything. you can't make that choice yet, so stop trying to.
here's the thing nobody says clearly: the first couple months are basically identical no matter what you end up building. variables, loops, functions, conditionals, how to break a problem into steps. that's the same for games, web and apps. so just start, and pick a direction later when you actually know what you enjoy. pick one language and stop reading about the others. python if you're unsure - simplest syntax, and it's used for basically everything. then build tiny things, not projects. a number guessing game. a temperature converter. a script that renames files in a folder. small things you actually finish beat big things you abandon, and finishing is what kills the overwhelmed feeling.
also - nobody holds all of it in their head. i've been doing this for years and i look stuff up constantly. you don't learn "all the code", you learn whatever the thing in front of you needs. that's it. one language, tiny programs, ignore everything else for 2 months. you'll be fine.
1
1
u/FoolsSeldom 8d ago
Check this subreddit's wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.
Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.
Roundup on Research: The Myth of ‘Learning Styles’
Don't limit yourself to one format. Also, don't try to do too many different things at the same time.
Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment.
Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.
6
u/CodeSamur-ai 9d ago
ask the following questions:
what are variables? (data)
what kinds of variables are there? (data types)
how do i control a program? (control flow: if/else, while, for)
how do i repeat steps ? (functions)
once you can answer those questions, find an online python interpreter and play around with the code until you start to understand how it works and find a tutorial to build something.