If you are learning a new coding language, you are likely to be tempted into cramming. Cramming is not the best way to do it. Spare some time to study and understand a coding language. It will save you some time when you start to code. You are unlikely to remember anything from a cramming session. It may make a programming language to seem more difficult than it is.
Comments may not seem important to you while you are typing in the code. However, they are essential when it is time to get back to the job after a break. You do not have to include lengthy or detailed comments. Just add a short comment especially after a vague line.
Most people who wish to learn coding fail to do so because they believe it is too difficult for them to learn. Even though it may be difficult, there are a few ways to make your learning process enjoyable. Use a game program when you start. Everyone loves games. Look for game apps or apps that work like games. You will learn the basics of programming while having fun. You may start with a project which includes a simple exercise. Completing small tasks will give you the confidence to keep learning. If you are working with a game app, try to add fun challenges. You will be a pro in no time. The best way to learn is to have fun while doing it.
If you do not already use these tips, adopt them, and you will notice an improvement in your coding and your experience. You will realize that there is to need to spend a lot of your time and energy to write code.