Mindset for CodingšŸ§˜šŸ»

Intro

  • Are you a noob coder?

  • Do you want to master coding?

  • Are you getting frustrated while coding?

    Then this article is for you. Let’s dive homies…

Prepare for being smart šŸ‘ØšŸ»ā€šŸŽ“

The preparation part is essential to starting the coding. So, be ready with knowledge of the logic you will write and how we will execute it. If you have this knowledge and details, you are very clear about your requirements.

šŸ’”Tips - Use comments

Don’t waste your time with Flow charts and blah blah things. Just start coding with comments. It will help to think through the step-by-step procedure for your coding. And the comments should be in your words. They will make a personal connection between you and your code. So use the comments.

const canvas = canvasRef.current;
const ctxt = canvas.getContext("2d");
ctxt.clearRect(0, 0, canvas.width, canvas.height); // Clear the canvas
ctxt.save(); // Save the current state
ctxt.translate(canvas.width / 2, canvas.height / 2); // Move the origin to the center of the canvas
ctxt.rotate(angle); // Rotate the canvas by the specified angle

šŸ§‘šŸ»ā€šŸ’»Don’t learn from the language, learn from the scenario

See dude, all programming languages have the same kind of code, like if conditions, loops, objects, and arrays. So don’t waste your time learning the language. My advice is to choose a programic language, create more different scenarios, and try writing the code. It will improve your creative and logical thinking.

In the initial days, try to write a single scenario. That habit will handle the rest of the things.

Do copy and pastešŸ“

If you have started coding as a career, you will try to memorize the syntax. Please don’t do that. You will learn in the flow. Do the copy and paste from the internet and the documentation. And you are not in an exam room. So, don’t feel guilty about doing the copy (Ctrl + c) and paste (Ctrl + v). Run your code, you will definitely face the error. Read the error with patience and courage. And try to solve the error with internet blogs (AI should be the last option).

This habit will give you reading skills (Yes, reading is a skill).

Reading is the essential Key to writting…

Compare the work, not the person šŸ¤–

In your career, you will meet so many coders. Keep in mind that you are unique. So, don’t get scared of those people. Be friendly, it will give you knowledge and help. If you get a chance to see them coding, don’t compare it with yours and theirs. Just compare the style of coding. And try to write your code more stylishly. Because they have years and years of experience. So, utilize their knowledge. Don’t create the inferiority complex.

Conclusion…

If you are a new coder, don’t break your head. Be cool.


Just beat it…

0
Subscribe to my newsletter

Read articles from Vigneshwaran Arumugam directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Vigneshwaran Arumugam
Vigneshwaran Arumugam