DEV Community

George X.
George X.

Posted on

How To Stay Motivated When Learning to Code?

Top comments (9)

Collapse
 
rdumais profile image
Ryan

Just know that everyone starts out just where you are now. It can be very daunting at first, but you need to have persistence and dedication. Ask questions along the way and soon enough you'll be answering other's questions.

Collapse
 
gexos profile image
George X.

Ryan, thank you for your input :)

Collapse
 
jsrn profile image
James

Understand that you will probably not always feel motivated.

Learn when to take breaks and recharge, and remember what it is that you enjoy about programming.

If you feel like you're reaching a dead end with something, don't be afraid to try something else. If you decide you hate developing websites with Ruby on Rails, you might find that you really love developing desktop applications with C#.

Collapse
 
gexos profile image
George X.

Thank you James!!

Collapse
 
iguza profile image
Yoghaswara Nugroho

If i get unmotivated usually i go break for a couple hour with something fun (ex: read a novel , watch anime , play with ctf , etc). to recharge my motivation, if a couple hour not enough , i make me-time then take nap. rest is matter , even seemly waste time.

Collapse
 
cess11 profile image
PNS11 • Edited

Get a language with a REPL that also runs on your handhelds. That way you can always test your ideas when you have them, and also bring your small projects into commuting and so on.

Get a datastorage that also does, code is important but so is handling and refining data. If you can bring it with you, all the better. SQLite is widely supported.

Read 'hard' books. Fix-point-combinator wizardry and bayesian inference will not be immediately accessible but over time terminology and theory will start getting hold.

My personal preference is picolisp.com but Python, Coconut or Node might suit you better.

Collapse
 
gexos profile image
George X.

Thanks my friend!

Collapse
 
joehobot profile image
Joe Hobot

Ask friend to slap you every time you stop coding 👨‍💻-- thats one way of doing it.

Many might give you some motivation answers, however I think you will need to find your own motivation for coding.
Is it drinking redbull?
Visiting Dev.To every 20minutes?

See where I am going? Everyone is bit different.

I've been there and done that, however my motivation was to build a visible code daily (python), meaning that I would go on random GH or build some random small apps with python that would satisfy me on daily basis hence I got skilled more and more each day.

While coding capture a moment in your head when you are happy, ask "What made me happy" - rinse and repeat .. stay happy and motivated to code.

Collapse
 
gexos profile image
George X.

Joe, thanks for your helpful input!!