DEV Community

Discussion on: what do you do when you feel lazy to write code ?

Collapse
 
hussein_cheayto profile image
hussein cheayto

Begin with an easy task.

The night before, prepare a todo list.

Let's say you're working on a project XYZ, and you have so many tasks to do.

First, you should divide these tasks to the smallest possible. For example, you have to make a shop in your game. This is a big task and takes a lot of time to be done. The most important thing is that, after working hours and hours on "make a shop" task, you will end up checking your task list and see that you didn't accomplish anything. It is frustrating.

Instead, try to divide that task into:
-Prepare the shop background
-Add a shop icon
-Add a return icon (in the shop)
-prepare the powerups (design)
-implement the powerups in the shop
.......

Always, put the easiest task at the beginning. The secret? "JUST TO GET STARTED".

In my case, I feel lazy to begin to work, but once I begin, I can't get up from the share.

So to answer your question, I would read my task list, notice that I have an easy task to begin with, it motivates me and that's it.

Collapse
 
farid_aditya profile image
Farid Aditya

You're right, it's bad for my habit that I don't do to do lists, but it just goes according to flow. I always do something in a hurry, and consider writing to do lists instead of spending my time.
But maybe from now on I have to start learning to write tasks that must be done and work according to schedule.
Thank you buddy

Collapse
 
hussein_cheayto profile image
hussein cheayto

Glad I could help :)
I would recommend this book, "The Power of Focus" by Jack Canfield. Or you can check it's resume on youtube here and take notes. It's super efficient.

Best of luck