Stay motivated while programming

How to stay motivated while programming.I am easily getting distracted.I am not able to write even a single program on my own.

Unfortunately there’s no magic answer that will fix that for you.

And to an extent it could be said for anything in life that is difficult and require effort.
“How people can follow a diet?”
“How do you go to the gym every day?”
“How do you practice piano daily?”

Per my personal experience aiming for motivation is doom to fail. Eventually motivation will fade, priority will change, and life happens.

So you should always aim for continuity. The power of habits.
There’s a popular resource that aims to help in this regards, it’s called
100 days of code.

Hope this helps :sparkles:

You have to learn how to program before you can start coding! And learning takes time. If you are trying to learn something new that requires patience and diligence, then you are not going to succeed right away. So do not get discouraged if it doesn’t happen overnight. Keep at it, stick to your goals, and continue to strive towards your dreams.

  1. Don’t worry about the details. Start coding!
  2. Find your passion in whatever you do. If you don’t enjoy what you’re doing, you won’t be good at it.
  3. Don’t let anything stop you from making progress. You can always find something else to work on later.
  4. Learn how to break down tasks into smaller pieces that are easier to manage.
  5. Build yourself a schedule and stick to it.
  6. Have fun – just make sure your code is bug free before submitting it :slight_smile:
1 Like