Whats The Motivation To Code


So, you have decided that you want to code, right??
If so, let’s do it!

What’s The Real Motivation

People ask me what the motivation to code is and how to maintain that motivation. A simple explanation regarding the motivation that I always share is “Nothing can be done without a motivation and doing what you love itself gives you a motivation…”

There are lot many motivations to code. One of them could be learning new things. Every day you code, you learn something new, and you develop yourself. Every problem that you face while you code, gives you a new lesson and a way that you can solve the problem. A lot of people feels bored while coding for a longer duration as they feel this is too technical for them. Coding is not just about writing a group of commands; it is an art as well. One of the most used CMS, WordPress has a brilliant tagline as:

“Code is Poetry.”

You are creating something new, very innovative that helps a lot of people across the globe. While you work on a website, definitely it is a project and a daily routine of your life, but in actual sense, it will help a business grow. Many people will find it easy to do their regular stuff using the website you developed. If these things do not motivate you there is one more motivation that is earning 😉

Now, let’s take a look at how can you stay motivated to code

How to Stay Motivated to Code

Here, we will discuss a few of the most effective ways that will help you stay motivated and take you further in the vast field of coding.

#1. Make sure this is something you want to do

Taking a firm decision that you want to code, will bring you at a particular level of motivation to start coding and to carry it further. Getting random thoughts while coding like what if I join the marketing team, what if I go for the SEO, etc. will hamper your progress. It is better to take a firm decision before you start and then to hold on it.

#2. Find a coder buddy

While you are at your workplace, find someone who is a coder; This helps a lot! Every time you are stuck up with something, you have someone who can help you find solutions. Even if not solutions, you will have someone with whom you can discuss your problems. A study by McKinsey proves that your efficiency increases by 20% – 25% while working with a colleague.

While learning if you are in a team, that makes the learning process much easier and enjoyable. You can remove your doubts and share something that you have gained extra; This helps you learn faster, get additional knowledge and an opportunity to work together on any new project.

#3. Connect with the culture: Online and offline

We like to stay at a place where we have been staying for a longer duration. The reason that attracts us to this location is the people in our surroundings and the culture there. So why not apply the same thing in the coding as well. You can learn to code, grow more and can share projects with peers in the culture!

You can connect with people in two ways online and offline. Offline connections happen at your workplace, your mates, events taking place in the area, get together, and more. For online connections, you can reach out other developers on social networking sites, coding forums like Stack Overflow; This helps you build a strong network with your peers, and it will keep you motivated to code.

#4. Maintain a Portfolio and share it

After you have started working in the coding field, every week there can be something new that you can create and share. Let it be a small piece of code that does a small task or a little front end part, if you love it, add it to your portfolio.

Add these things on sites like CodePen and JsFiddle and share it with your mates and other coders. They may appreciate you, and this will enhance your confidence and motivation. Sometimes, while sharing these stuff you created, you may be advised by some senior developer on how can you improve your code; This would be a great learning! Not only this, you may get some projects as well, if someone likes your code or your creativity.

#5. Goals Always Motivate

As I always suggest, set your goals, that too realistic one! A goal can be something like I want to complete this project by the first week of the upcoming month. After setting a longer duration goal, set up milestones to achieve this aim. Milestones can be like completing a particular module by next week, finishing front end before you go on holidays, etc.

Further, these milestones should be fragmented to daily targets. Before you start your work, jot down your goals for the day. Penning them down will motivate you to work harder and hit the daily objectives.

#6. Rubber Duck Debugging

Bugs are the most irritating and the demotivating things while you code. A single small bug may take up half of your day and will frustrate you like anything. So, here’s a method that is interesting, entertaining and a quick fix as well.

In the book The Pragmatic Developer by Andrew Hunt and Dave Thomas, they have mentioned a fascinating method know as ‘Rubber Duck Debugging’ or ‘Rubber Ducking.’

They say you need to put a rubber duck in front of your computer and explain your code line-by-line to the duck. While explaining your code, most of the time you will hit up at the bug. It could be a syntax error, usage of a wrong function or logical error. Getting through the bugs and fixing them will reduce a lot of stress and won’t demotivate you.

In the end, always remember:

Working hard for something we don’t care is Stress and working hard for something we love is Passion.
~Simon Sinek

Have ideas to share? Submit a post on iamwire

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>