One of the things I found the most frustrating when I learned Python was how generic all learning resources were. It seemed that all learning resources wanted me to spend 2 long, boring, months on the Python syntax even before I could think of doing what interests me. I believe that the first step in learning a programming language is to make sure you understand how to learn. Learning to learn is undoubtedly the most critical thing in computer programming.
“It’s easy!”. They will promise. But even a few apparently simple lines of code can be incredibly confusing. For example, why are some lines behind? What is Django. HTTP? Why are some things in parentheses?
Understanding how everything is integrated when you don’t know a lot of python can be very difficult. The problem is that you must understand the constituent elements of the Python language to build something interesting. Most tutorials assume that you must learn all the Python syntax before you can start doing something interesting. This is what leads to months spent only on syntax, when you really want to do is analyze data, or create a website, or create an autonomous drone, here are some tips to help you create the new concepts you learn as a beginner programming:
code every day: consistency is very important when you learn a new language. We recommend that you commit to code every day. It can be difficult to believe, but muscle memory plays a big role in programming. Getting to code every day will really help develop this muscle memory. Although it may seem intimidating at first, remember to start small with 25 minutes a day and progress from there. Go Interactive: that you learn the basic Python data structures (class, lists, dictionaries, etc.) for the first time, or whether you debit an application, the interactive shell will be one of your best learning tools.
Build something, anything: for beginners, there are a lot of small exercises that will really help you to become confident with Python, as well as to develop the muscular memory that we have spoken above. Once you have a solid understanding of basic data structures (tuple, lists, dictionaries, sets), object -oriented programming and writing lessons, it’s time to start building! What you build is not as important as the way you build it. The construction trip is really what will teach you the most. You cannot learn a lot by reading real articles and python courses. Most of your learning will come from the use of Python to build something.
The problems you solve will learn a lot. There are many lists with beginners Python projects. Here are some ideas to start: numberGuess, app Calculator Simple Dice Simulator. Open Source: In the open-source model, the Software Source Code is available publicly and everyone can collaborate. There are many Python libraries which are open-source projects and take contributions. In addition, many companies publish open-source projects.
This means that you can work with written code and produced by engineers working in these companies. Take breaks: when you learn, it is important to move away and absorb concepts. You work for 25 minutes, take a short break, then repeat the process. Taking breaks is essential to have an effective study session, especially when you take a lot of new information.
The breaks are particularly important when you debug. If you touch a bug and cannot understand what is wrong, take a break. Log away from your computer, go for a walk. In programming, your code must follow exactly the rules of a language and logic, so even miss a quote will break everything.