Mistakes by Beginner Programmer (Learn Something New)

As a beginner programmer, you will probably make lots of mistakes. That's how you learn. Is solving coding problems a good way to learn how to code?1 min


64
70 shares, 64 points

When you start learning a programming language, there are many things to keep in mind. You may be overwhelmed by the amount of information available online. So, here are the top 7 mistakes made by beginner programmers.

Coding is an art form. It is not just about writing code. It is also about designing your application so that it is easy to understand by end-users. Coding should be done in a way that allows you to change your mind later if you need to. You should write test cases before you write any code, it will define the scope of work for you. Writing test cases will help you catch bugs early. If you write test cases first, then you won't have to rewrite them when you realize that something else is missing.

Cover Image attribution: via freepik

1. May Laziness Remain in You!!!

Coding & Programming isn't always easy to begin with, but those who put effort into learning new things will surely enjoy the experience. Many beginners may delay when starting out because it seems like an insurmountable task with all the information they need and the time required to complete homework. But if you stick with it, your perseverance will pay off when you're able to master the basics. You'll also get a sense of satisfaction knowing you've accomplished something you'd never thought possible.

Don't be too lazy to write a test case before starting development, it will define the scope of your work and may save you a lot of time after the development is accomplished.

2. Taking a Screenshot when your program compiles

This is the point when many programmers start their journey. They can write something simple like a "hello world" program or other basic functions. As their skillset grows, they might post their code online using GitHub or some other platform including code snippets. Some even go further and create an account/profile on Stackoverflow, Beingcoders, or other coding forums.

To get more fam over the internet, generally, developers quickly take a screenshot when their code is running without any errors! There is nothing bad to take a screenshot.

Here the mistake is, sometimes you should be careful about your work and must not publish a work or project details without your company's permission! I see some developers are sharing snippets of confidential projects, which might put your company's reputation in trouble.

3. Use of Eponymous variables, methods and functions name

When you are fresher and hop into professional business in IT industries, probably you may have habits from your university to use the eponymous names to declare variables, method names, or function names for any languages like Java, JavaScript, Php, Python, or Typescript, etc., Eponymous names for variables or functions can be like,

boolean myBoolFlag = false;
int myIntVar = 0;
Date dt = new Date();
String str = '';

// To get the list of users
function getUsr(){
   ...
}

//Function names like
function calcFn(){
   ...
}

You probably use such names at the beginning of your career, right?

Generally, experienced developers don't do such things, they always avoid such things. 

The reason behind giving proper naming conversions for variables and method names will provides good readability, easy to debug code and finding a method to relevant functionality on maintenance!

With good naming conventions, you can make a better impression on your team lead and other colleagues!

4. Saving hundreds of Files on your Desktop

(Desktop full of icons) - toms hardware dot com website If you are a gamer or hardcore coder, probably you save all of your text, word, paint, or pdf files to your desktop, sometimes your backscreen can't be visible as it is full of a number of files on your desktop.

Adding more files on the desktop might slow down your PC and so your work might be affected, you should not do this all the time! Sometimes cleaning the desktop is a good idea too!

5. Dig A Well When There Is A Fire

This point is about Job Interviews, Be ready with what to prepare before appearing for an interview.

The IT industry is an ever-evolving field, and there are a lot of different ways to approach problems. You never fully understand the concepts behind every piece of code you write, especially if you're just starting out as a beginner. That's why it's important to get experience under your belt. If you've already got a few years of solid experience under your belt, then you should know what kind of questions will come at a job interview and be ready to answer them, even if it's not something you usually face.

If you have memorized your answers only, then you might not get hired. But if you've built something before practically, if you are used to good coding practices, you'll show an employer you're smart and capable to work for them!

6. Two Sides Of The Same Coin

I noticed, that there are two types of developers I saw in my career.

1. Insouciant Developers: They really don't care about the work, they never respect timelines or deadlines.

There are many different kinds of programmers. Some are experts in certain languages or frameworks. Others are masters of specific tools. Still, others are great at using multiple tools. There are also those who are great at writing code, but not necessarily good at debugging. And there are those who are great at debugging, but not necessarily good writers.

2. Numb developers: They don't know the "D" of Development.

Some newbies get stuck with coding stuff that doesn't need to be cared about at all. Yet they waste valuable time trying to understand what they should care about instead.

7. Sometimes Semicolon(;) Kills

If you are a beginner or expert in coding, It may happen when you start writing code. We often type out a line of code thinking it will compile fine, then realize there is something wrong with our syntax. 

We might also have a typo that causes us to write an incorrect line of code. Sometimes we just get tired and skip a few lines of code. If we're not careful, we'll eventually forget to add a semicolon at the end of a statement.

Sometimes we are not able to find a silly mistake made by us and waste a half-day to figure out where is the error!

Wrapping up...

What are the mistakes were you making when you started your career? Comment your thoughts below.


Like it? Share with your friends!

64
70 shares, 64 points
DigitalWorkerBees
We provide access to businesses and individuals to tons of on-demand virtual workforce. Complete easy-to-do tasks at an affordable cost and get paid in USD.
Choose A Format
Story
Formatted Text with Embeds and Visuals
Poll
Voting to make decisions or determine opinions
List
The Classic Internet Listicles
Countdown
The Classic Internet Countdowns
Open List
Submit your own item and vote up for the best submission
Ranked List
Upvote or downvote to decide the best list item