Do You Want To Learn to Code? Here Are My 5 Tips…
Shortly after graduating college I learned how to code. Hands down, I can tell you that it is one of, if not the most, valuable skill I have ever acquired. Even if you don’t ever plan to be a full-time developer, having an in depth knowledge of how this world works will do wonders.
With that, I give you my five tips if you want to learn to code:
- DO NOT use an online “coding academy.”
While websites such as Codecademy receive a lot of good press, I believe they miss the bigger picture. Online courses such as these will teach you syntax — how to declare a variable — but they do not show you how everything works within the context of the entire application. I once finished a Ruby course on Codecademy and by the end, I knew how to write an IF,THEN statement but still had no idea how to actually build a web application and get that IF,THEN statement to run inside the application.
Rather, I’d recommend courses that focus on how to build entire functioning applications rather than learning specific languages.
Sites such as One Month and Code4Startup will walk you through how to build entire applications. If you really want to get your hands dirty, Michael Hartl’s Ruby on Rails Tutorial will not only provide you with a strong foundation on how to build an application, but it will also teach you basic programming fundamentals. It took me almost three months to get through the entire tutorial but it was well worth the time invested.
2. The best way to learn is by working through your failures.
Learning to code is hard and there is no way around that. The initial learning curve is steep. The best way to learn is to run into issues and work through them — do not cheat! One of the drawbacks of a Codecademy type of site is that if you can’t work your way through a problem, you can just click to see the answer. While this may move you to the next step, often you won’t understand what you did wrong and if you do, you likely won’t remember it.
There is a precipitous learning curve in coding but I guarantee, if you stick with it long enough, there will be a point where it starts to click. Having the discipline and platform to work through problems will force your mind to remember what you did wrong next time you run into the same issue. For me, learning to code was similar to learning a calculus. At first, I swore it was random madness and nothing made sense. But eventually, I started to realize there was a method to the madness and moving forward, it made things much easier.
At first, it just seemed like random madness and nothing made sense.
4. Have a reason.
Many people want to learn to code simply for the sake of learning to code — avoid this. Having a personal project you want to complete will keep you motivated when you are so frustrated you want to jump off a cliff. It also provides a completion point and a medium to test and apply your new skills rather than just learning for sport…
5. Do not give up.
Like anything in life, this sounds like a given but it’s true. If you’re frustrated, take a step away, do something else for awhile, and come back to it. I cannot tell you how many times I banged my head against the wall trying to figure out an issue only to come back a few hours later and figure out the answer in minutes. It is always too early to give up.
If you’re planning to have a career in the tech space, knowing how to code will do wonders in any capacity. Admittedly, learning to code is hard and there are no shortcuts, which is why there are not enough developers. But are there any shortcuts to places worth going? Stick with it. It’ll be worth it, I promise.
Until next time,