So You Want to Learn How to Code
Alisha
Posted on August 21, 2022
9 Tips to Help You on the Way
There are plenty of reasons why people are choosing to acquire a job in tech. Whether it’s the high paying jobs, the opportunity to get paid to learn, the myriad of sub-fields to go into, whathaveyou.
No matter the reason behind your decision to join the industry, it’s wise to take off on the right foot. It may be harder, but you’ll be better off doing the hard work from the beginning (or in the beginning), such that by the end, it’ll feel like a cakewalk.
In this article, I aim to give you 9 pieces of advice to fast-track you on your dev journey. Without further ado, let’s move on to the list!
-
Learn HOW to Learn
This step is fundamental to your success. I mean it. It may sound childish, but many people – myself included – do not learn how to learn in school. I learned how to learn when I decided to take my web development track seriously. I was teaching myself and I thought “if I’m going to do this, I need to do it the right way.”
I took Barbara Oakley’s Learning How to Learn Coursera course and learned how the brain works, how to set yourself up for success and how to study effectively. I cannot recommend it enough, and the best part? The knowledge you will gain from it can be applied to anything else you’d like to learn. If you take nothing else from this article, please trust me on this.
-
Pick a track and/or tech stack
As mentioned in the beginning, there are a lot of fields that you can go into if you choose to study software engineering. Anything you can think of, there's a side of it that needs a software engineer.
Knowing which track you’d like to pursue will inform your decision of which tech stack to learn. There’s merit to learning the basics of programming in one language, and then moving on to your target language to hone in your craft. However, the earlier you pick your tech stack, the sooner you can start creating projects that are relevant for your future job.
-
Find the Resources That Work for YOU
Learning something difficult can become a smooth process if you have the right tools, and/or teacher. The good thing about self-teaching is that you can pick and choose who and what to learn from. This, coupled with knowing your learning style, and your why (why are you going down this road of learning software engineering?) will do wonders for your motivation to keep going.
There are plenty of free courses that are even better than paid ones. Though, it's worth it to buy a course if the instruction seems like a good fit. For example, I learned JavaScript by taking Jad Joubran’s Learn JavaScript course because the trial helped me determine that the teaching style was great for my learning style. Sometimes, good things cost money.
-
Make Friends Early
🎼 Once I was seven years old, my mama told me / Go make yourself some friends or you'll be lonely 🎶 Ahem. This one is a two-in-one. First, learning how to code is not a solo endeavor. Having someone to bounce ideas off of, someone to ask questions when you’re stuck, or just someone who can understand the struggle can be Huge in your journey.
When you’re learning alone, it can feel like you’re a failure and like you’re not smart enough. But when you have a coding-buddy, you know that you’re not alone, and you have an extra brain to help in the problem solving.
Now, be aware of leaning into them too much, you want to use them as a bouncing board, or support, but do not rely on them to give you all of the answers and to always work through things together. You have to be able to stand on your own, so make sure that you understand everything just as much as they do.
The second part of this advice is: making friends also means creating connections. Join forums, discord servers, email lists; all the things! It’s better to have a network and not need it than to need it and not have it. Especially when it comes time to apply to jobs. You don’t wanna have to do this retroactively, when the pressure’s at an all time high and you’re in a dire position to land a job.
Your connections can also provide sound advice and guidance that a more junior/inexperienced person does not possess the knowledge for. Make friends, always.
-
¡Practice!
I used the Spanish-language inverted exclamation point to emphasize how important this is. There is such a thing called tutorial hell, which is where you get stuck in this loop of just watching and following along with tutorials. However, when you try and create a project yourself, you haven’t the faintest idea of how to start without anyone holding your metaphorical hand.
Along with the point #4, I will reiterate: you have to be able to stand on your own. Tutorials are great! And you don’t always need to practice what you learned in them in a proper project (though you should still practice; a simple, quick exercise, is great to get the muscle memory) but your focus should be more on understanding concepts and making connections between topics.
Once you have those down, move on to either incorporating what you learned into your current project – or next project. Again, it’s all about starting on the right foot.
-
Rest
It’s very easy to get into a coding flow and forget about everything else. Especially if you’ve come across a bug and can’t seem to find the bug spray (😂🙃). If you followed step 1, you'll know more about this. But in short, taking a 10, 15 fifteen minute break helps your brain to recompose itself, and not be so overstimulated. It’s not a magic fix, so it doesn’t always solve the issue. But breaks are the best thing you can do when you’ve reached a stall in your code/learning.
-
Don’t Take the Easy Way Out (It’ll Cost You)
According to urban legend – or research, you choose – it takes 21 days to form a habit. But how long does it take to break it? Some sources say as long as 254 days. You want to make sure that you’re actively pursuing best practices, good techniques, following standards and good organization.
If you start off with doing things the easy way (like not using proper spacing in your code), it’s going to be very hard for you to suddenly start implementing it when/if you don’t have access to a code formatter.
Or, it’s easy to name your variables whatever random names (or string of syllables) work for you in that moment. But it’ll just make it that much harder when you need to name them meaningfully and you haven’t ever done that before.
If you put in the work in the beginning, by the end it will be second nature.
-
Bite-Sized Pieces (&& Pseudocode)
Breaking things down into smaller pieces makes a “big” problem not seem so imposing. Along with that, if you pseudocode your steps first it’ll give you an advantage because you have now: broken down the problem, and also explained your process.
If you don’t know how to do a specific step, but you know what you’re aiming to do, it’s very easy to use a search engine and look up your pseudocode (e.g. “how to add a key/value pair to an object in JavaScript?”). To reiterate tip #7: forming good habits will pay off in the long run.
-
Make Mistakes!!!!!
As a perfectionist, this one really goes against my core self, but it’s something I'm still working on. Making mistakes is a great way to learn. When you make a mistake, it means that there’s something that you have not mastered and you need more practice or information about it. It could also mean that you need to rest, but I digress.
The way to learn from them is to understand what caused the mistake/what went wrong and how to fix the mistake. If you can’t figure it out in one sitting, take a break. And make sure to take proper breaks in-between sessions (i.e. sleep well).
If you’re never making mistakes, that means that there’s nothing for you to improve on. On the other hand, if you are constantly making mistakes and don’t take the needed time to cement what you just learned from that mistake into your noggin’, then you’re wont to make the same mistake again.
You want to keep improving, not become stagnant and or decline in your progress. For more info, check out Jad Joubran’s video on this topic.
Becoming a Software Engineer is not an easy task, especially when you’re teaching yourself. Take it at your pace; don’t focus on what other people are doing. Follow your journey, find what works for you, and keep at it. One day at a time. The world of tech is so big, there’s a niche for most everybody. If you can find yours, you’ll never look back. Up and at ‘em, and happy coding!
Image/Illustration Credits:
- Kite photo by Rasam Rostami on Unsplash
- Brain/person illustration
- Pick a road illustration by storyset
- Pencils picture by pvproductions
- People standing together by freepik
- Person typing on keyboard by storyset
- Person resting by freepik
- Pseudocode by Angela0130 on Wikimedia
- Error Image by David Pupaza on Unsplash
Posted on August 21, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.