Write Code Every Day

by Brian Kang

Write Code Every Day

A straightforward and uncomplicated idea by John Resig, he explains how in order to improve his work he set a couple rules for himself around creating code every day. While our goals may vary in regards to scale, I believe we share the same ambition when it comes down to the core benefit: improving yourself and the quality of your work.

Why Every Day?

Everyone knows that the best way to excel at something is to make it a habit. From music to sports, from running to ping pong — the best way to get better is to do it a lot and do it often! It’s no secret that the best of the best have all gotten there by innumerable hours of practice, repetition and self-improvement. For me, coding every day is one way I can tangibly measure the progress I make while at the same time establishing a new habit!

Thankfully from past experiences, I know myself well enough that with enough consistency, I can build up my good habits stronger so that it becomes second nature.

Having the right mindset

For me coding is not just a career choice, it's a passion. There’s a big difference between wanting to do something and feeling like you have to do it. If you're looking at the calendar and groan at a reminder to write code, you'll only see this practice as a chore! Instead, the right mindset is crucial in order to see these activities as opportunities to better yourself — to take yourself to the next level.

Leveraging the Power of Momentum

An object at rest stays at rest and an object in motion stays in motion

Newton’s first law

Another perhaps exponential benefit of coding every day is the idea of momentum. Just like a bad habit is hard to break, thankfully so are good ones. Currently on day 29 of my daily-code journey, I can say for certain that it’s easier sitting down in front of my text editor than it was on week one. Additionally, just like my body feels off when I don’t get myself to the gym most days — I feel my mind nudging itself away from Facebook and into Sublime Text even on weekends when I technically don’t have any work to do.

Goal: 180

My first goal is to hit 180 days of coding every day. Certainly an ambitious goal but something I believe will pay dividends as I progress through the journey of improving myself as a developer. I will check back in with my progress and experiences after 180 days, look out for it around March! Of course you can see my daily progress on GitHub as well.


What's Next?

The idea is simple, get better every single day by working on yourself every day. I want to reach the same level of coding proficiency as some of the great contributors of the industry like John Resig and Paul Irish. I don’t know how long that will take but I do know what the road looks like — lots of focus, grit, dedication, self-confidence, and learning. There are so many resources available for us in the world! Understanding how to utilize them to our advantage is one of the most important skills we can have.

Advice to others

    + Think of a project you want to build and then start the challenge one day at a time, one line of code at a time.

    + When creating those lines of code make sure your code is clean and organized so it can easily be read by any developer, not just you. Remember, clean code is good code and good code is clean code! More on that in a future post.

    + Keep track of all your progress and work on GitHub. Not only is a great tool for version control and collaboration, it's a great motivator to see your daily streak visualized!

If you have any questions about my process or goals, please feel free to reach out!