Updated: Jun 29, 2021
I teach coding and find students fall into the same honeytraps. Here's some unconventional tips to keep you motivated.
Imagine your dream job. Learning to program is hard. It's easy to lose motivation. Imagine your dream job and the things you'll be working on. Remember that every day you program, you are chiseling your current self into that future self.
Get help. It's easy to get misled. Experienced developers learn languages and frameworks on their own. So shouldn't you? What you don't realize is most of us got help at the beginning. Time is your most valuable asset. It saddens me meeting self learners who plateaued for years. They would already be working had they just got help. It's not worth it.
Be consistent. At first you code every night. Then you take a night off here or there. Then you take those days off regularly. Students lose motivation when they don't see progress. The problem is, momentum takes time to generate and uses consistency like compound interest. Keep consistent. Code a little every day. The gains add up.
Quantity over quality. I'm going to get a lot of flack for this. A lot of students hesitantly ask, "Did I do this right?" When you are starting, ignore code quality. Verify you fulfilled the requirements, then move on. Developing code quality comes later in your development. Normally, I don't focus on code quality until my students are working on projects that have 600+ lines of code.
Good luck friends!