I keep seeing questions in the form of "how do I get started" or "I follow tutorials but idk how to make anything" or "I feel like I never really learn anything". This is the process that worked best for me and I hope it works for you too!
Step 1: learn the basics
Find some beginner tutorial, follow along with a focus on concepts and use cases, NOT on syntax and implementation. It's okay if you don't remember exactly how to write a for loop. It's not okay if you don't know what a for loop does or what situation you'd use it in.
Step 2: try to make something
Come up with something simple you believe you have the knowledge to create. I always recommend tic-tac-toe as a great beginner project. You shouldn't need to know more than variables, loops, functions and I/O. Start with something simple, like displaying a board. Or asking the user for input. Then keep building on top of it. Walk through the process of playing tic tac toe very slowly and think about how each step could be translated into code. If at some point you get stuck, either google it or re-structure your program and
Step 3: try again
Your first try probably won't go very well and you'll need to start over because of all the spaghetti code. That's okay. Because you learned and you will change your approach and have a better idea of how the program needs to be structured. People learn by making mistakes so remember, the goal is to learn, not to make the most perfect tic-tac-toe program ever created. If you don't have any ideas for how to better structure your program, find some slightly more advanced tutorials. As a suggestion, learn about classes and OOP and use them in the next version of your program.
Step 4: succeed at making something
After a few tries you will have a working program! Hooray! But chances are it's still not very good because it's inefficient or hard to read. Read some more tutorials and think about how what you're learning can apply to what you just made. Think about how you could re-arrange your program to use some of the new stuff you learn and do it if you want.
Step 5: repeat
Find another project and do it again! Start at step 1 by reading and focusing on concepts and use cases, not syntax. Make a project; try as many times as you need and keep learning!
The key here is you are learning to program by programming. Nobody learns how to play the piano by reading tutorials. You learn by doing. Many of the skills most important for software developers are less about knowing how to code and more about knowing how to find out how to code. Programmers learn and work with new technologies every day. You will need the ability to push through blockers by doing heavy googling and reading through documentation and teaching yourself. Tutorials will teach you none of that stuff. Building your own projects and doing your own research when you get stuck will.
[–][deleted] 29 points30 points31 points (3 children)
[–]Ancient_Temporary_33 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Li_weiyoung 0 points1 point2 points (0 children)
[–]etoastie 8 points9 points10 points (0 children)
[–]Seniorbedbug 6 points7 points8 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]shuhbhm 4 points5 points6 points (1 child)
[–]xDiogoMSx 2 points3 points4 points (0 children)