5 Tips to Avoid Rookie Mistakes as a New Programmer
November 06, 2018
by JA Castro
After browsing through the ICTjob.ph website, you must be excited to dive in head first into the IT industry. It’s a challenging job and it will pay well in the long run. However, as a noob programmer, it’s important to identify the right habits to practice this early in your career. To help shape your path, here are a mistakes you can avoid or be wary of to make sure that your journey to programming will be not as complicated or stressful as it should be.
- Plan ahead
A lot of work goes into coding and you should note that before you start, it’s best to have a plan in mind — especially if you’re working with high-quality programs. Although some may argue that programmers have different techniques (some prefer codingo right off the bat), the idea here is to decide on what the program will do, figure how to do it, and then type, and then debug along the way. If you think about it, you can’t find a solution to a problem if you haven’t thought it through first.
- Focus on readability
Remember: unreadable code is pretty much useless. You can’t even reuse bad code. So when you’re coding, quality must be your top priority. Hence you have to make sure you have to clearly write the code to make sure its implementation is easy to decipher should other coders have to refer to it. When it comes to code, remember that even the small things matter — like indentation and capitalization, for instance. Don’t take linting and formatting tools for granted. Here are other things to consider:
- Break long codes into smaller chunks
- Don’t use double negative
- Give variables descriptive names for clarity. Don’t be vague.
- Know there’s more than one solution to a problem
Code can be complex and the most obvious, go-to answer might work, but it’s not the only solution there is. Oftentimes, you would find out that there are solutions to learn along the way — while you’re coding. Thinking of multiple solutions means that you have a great grasp of the problem. When you’ve figured out these solutions, the next step would be to pick the simplest solution.
- Fail early, fail often
That’s why when you feel like you’ve failed with one solution you’re dealing with — the best thing to do is to throw it away and push for another solution. Rethink the problem — even if it seems like you “almost” got there. A lot of coders spend so much time agonizing over a solution because they’ve spent so much time working on it. And now that you’re just starting, you can avoid this common mistake. Besides, there’s always….
Yes! Just because you’re officially a programmer doesn’t mean you can’t go to the world’s number one source of information. It’s not just so that you can get quick solutions to your coding emergencies, but it’s also where you can get access to discussions about similar situations. That’s why it’s a must to involve yourself in your local tech groups so you can read through forums and threads regarding any tech topic you like. For one, you can like the ICTjob.,ph Facebook page and find your peers or potential mentors there.
Do you think these tips would help you in the beginning of your journey as a budding programmer? Don’t forget that it’s always best to ask questions and learn what you can from your new colleagues/superiors. On the other hand, for a more in depth look into mistakes to avoid as a beginner programmer, you can follow this link.
Are you still looking for an opportunity in the tech world?
Simply create an account in ICTjob.ph and get a first row seat to the best tech jobs in the country. Happy job hunting!