DEV Community

SalahMZ
SalahMZ

Posted on

Learn to code in 5 steps, and 3 habits, Hello folks,

When you begin learning code and be on your first steps,
You are very curious to write every word and repeating lines and blocks of code,
But guess what, it is the first mistake and the last thing you need to do.

(The main steps to learn programming) -The First Habit, no need to waste your time with remembering nonsense things.

  • then what; All you need is just to:
  1. copy paste the code blocks.
  2. Read it, understand and grasp the general idea.
  3. Gather all code blocks together.
  4. Build and run the project.
  5. And finally, trace errors and debug the bugs. ....and guess what, you have learned how to code, and have built and run your first programming application 😉.

(Syntax, programming basics and approaches) -The Second Habit, just read and understand then practice by implementing already existing things.

  • if you don't know anything about syntax, code flow, and using IDE "Integrated Development Environment" (the software which helps you write the code, predict and autofull the code while you writing it, and find the errors in code (debug the code)), Just you need to read about it, take this basics by reading / watching a course and just grasp the general idea of those things, Once you implement those approaches while you build you first project (by just copy, paste,, read, understand the code,, compile it and debug any errors -as we said before), you will immediately live the live understanding for those concepts without repeating uselessly.

(Practicing and mastering process and acquiring more knowledg) -The Third Habit practice existing projects and search about errors and functions, methods, features and approaches you need.

  • the last and your mastering step is to view a lot of projects in your speciality (Web, Mobile Application, or Game Development etc.), and repeating the steps above without writing the code or reproduce it.

In addition to learn to search and inquiry about any function, error or problem on the Internet (and for sure your stackoverflow will be your second home).

And after accomplishing many projects you will be able to navigate through your own way and to build a new projects on your own.

Top comments (1)

Collapse
 
maame-codes profile image
Maame Afia Fordjour

Saving this for later.