How do I stay focused and be consistent in learning to code?

Guys I really need help, each time I try taking a tutorial on programming… am usually excited at the initial phase but I tend to quickly loose motivation when I get to difficult aspects of it and then I stay off for so long that I forget what I've already learnt by the time I come back. I need help… How do I get past this?

Start by rewarding yourself for little progress you make. Take break. It can get overwhelming a lot but go easy on yourself.

0 Likes
David Herbert Author

Thanks… Will see what I can do about those reward system.

0 Likes
Mikolaj Kubera

I would suggest finding a mentor or a tutor and investing a little bit of your time and money. Yes, it will cost you a little but you will likely end up without many holes in your education. There's nothing worse, speaking from my mentoring experience, than self-taught people who were randomly picking up tutorials here and there. They end up more confused than enlightened, while their enthusiasm levels going down.

Check this site for some clues what you need to learn (front end, JavaScript): Roadmap.sh

Personally, I would advise against JavaScript, and recommend Elm. It's more difficult to grasp at first but easier to master, has a super-friendly compiler that will be pointing your errors and offer solutions, will make you a better programmer no matter what your knowledge and discipline, and you will end up writing applications that are easy to refactor and much easier to test.

Best of luck! 😄

0 Likes
David Herbert Author

Am a fan of JavaScript… This is the first am hearing of ELM and as such would rather not learn an unpopular language, that decreases my chances of employment.

But thanks for the advice on finding a mentor… I think I'll try just that.

0 Likes
Mikolaj Kubera

@davehert Well, niche languages are a funny thing. On one hand, there is less employers. On the other, there's less people who can be employed 😁 And if you become a functional programming afficionado, you will always find companies being VERY happy to hire you. Just fyi 🧐 Naturally, if you feel JS is your calling, go for it!

0 Likes

Please sign in to leave a comment.