5 Things You Need to Do If You Hate Coding


Are you guys bore with programming and your brain says you "You Hate Coding". You hate coding but you want to code then this tips helpful to love to do code.



5 Things You Need to Do If You Hate Coding 


1. Visualize The Code ๐Ÿค”

The reason you don't like the programming is the human don't like lots of the white letter with a black background. This black and white interface bore you.  A human being or the human brain don't like to see this boring interface.

The solution of this boringness is you need to Visualize the Code. You need to visualize the before start the code.

For example, if you code for the slider in a website then first visualize about that slider then code. Visualization makes coding interesting. 

But if you just code and code, code and code and don't know what is your output, what you want then coding become boring my friend.

This is the reason why people most care about UI/UX. Because the human mind doesn't like a black and white screen. Programmer made the user interface first then put the logic behind the interface.

If you are designing any website then the first sketch the design about a website in a paper. Imagine about your website and it makes your brain ready for coding. Then start coding my friend.

So, just start to visualize the code if you hate coding.


2. Skipping The Topic? ๐Ÿ˜™

Don't skip any topic if you learn a programming language. For example, if you skip the for loop and start to learn the next topic and comes for loops then it's become complicated for you.

So, never brack curriculum. It's designed for you to understand perfectly. Never ever skip any topic.

If you skip topic then obviously, coding becomes hard for you, uninterested for you and then you hate coding. That's why never skip the topic. Okay!

3. Hey, Don't Follow Old Myth ๐Ÿค“

The myth is First Learn C then Learn C++, Java and etc. People say first start with C programming language, it's easy for beginners and says so many things blah blah blah...

But what about your interest right? If you want to make a website then why need to first start with C right, start with HTML, CSS, and JS. If you want to make Android App then why again need to learn C, you should directly start with Java then Move to Android Right.

If you are not interested in that programming language so you don't learn that programming language. You learn whatever you like.

Any programming language is easy. Just syntaxes are different.

More about this topic and confused to choose to programme language to learn then visit: Which Programming Language Should I Learn First?

4. Bad Indentation and Comments ๐Ÿคช

Any Immature programmer (like me) that make these 2 common mistakes and Ignore these important things. They ignore Indentation and Comments. 

Indentation makes your code beautiful. Hey, but what Indentation? Indentation is nothing but spaces and tabs that arrange your code and lines beautifully.

Without Indentation ๐Ÿคฎ
public class HelloWorld {
public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
}
}

With Indentation ๐Ÿคฉ
public class HelloWorld {
    public static void main(String[] args) {
        // Prints "Hello, World" to the terminal window.
        System.out.println("Hello, World");
    }

}

Comments also important if the line of code is more. For example, you make an awesome and big website and don't put comment then it's harder to find any particular section or design like harder to find slider area, sidebar or any other. So, if you put a comment like,

<!-- Slider Start Here -->

 <div class="w3-content w3-display-container">
   <img class="mySlides" src="img_snowtops.jpg" style="width:100%">
   <img class="mySlides" src="img_lights.jpg" style="width:100%">
   <img class="mySlides" src="img_mountains.jpg" style="width:100%">
   <img class="mySlides" src="img_forest.jpg" style="width:100%">

   <button class="w3-button w3-black w3-display-left" 
   onclick="plusDivs(-1)"></button>
   <button class="w3-button w3-black w3-display-right" 
   onclick="plusDivs(1)"></button>
 </div>

<!-- Slider End Here -->

Look, that makes easy to find. If you put that type of comment then easily find and you make changes whatever you want right.

So, if you do these mistakes then again you say programming is boring, I hate coding etc. etc. Don't make these mistake okay.

5. Why You Not Using IDE or Text-Editor? ๐Ÿคจ

Use an IDE (integrated development environment) or Text-editor. This makes your work easy.
Today we have lots of free IDE or Text-Editor for Programming. And these are free and awesome.

IDE and Text- Editor makes your work easier. See, simple notepad not makes an indentation for you and not have any shortcut for fast work. There are lots of disadvantages to using notepad. So, use the best text editor.

Emmet plugin helps you to write code fast and if you are using still notepad hey where you live. Just choose your favorite Text-Editor.

OK, then these tips help you to love coding. And You never say again I hate coding.

Post a Comment

2 Comments