7 Ways To Learn Programming in 2020 Without School?

0
61
Spread the love

7 ways to learn programming in 2020 without School?

Hello again, everyone wants to learn to program very fast and without school, I got sometimes questions how to become a software engineer without a degree, for me programming skills in just a matter of implementing an algorithm, you should not only write code or clean code but you need first to have a problem or programming solving skills.

So the basis for learning programming very fast is to learn the algorithm.

I can give a quick example in Java code follow my previous course Java Developer Courses for beginners, to explain how to start learning to program, we have a list of numbers and in this list of numbers we have duplicated numbers, So we need to print only the duplicated number from this list.

[1, 1, 6, 4, 4, 5] : So as you see we have a List and we can count two numbers which are duplicated in this small list: 1 and 4. [1, 4]

import java.util.Arrays; 

class Main {
  public static void main(String[] args) {
    //this is our list
    int[] list =  new int[] {1, 1, 6, 4, 4, 5};
    //we are going to sort our list
    Arrays.sort(list);
    //we create an loop 
    for (int i = 0; i < list.length-1; i++) { 
     if (list[i] == list[i+1]) {
        System.out.println("duplicate numbers:"+list[i+1]);
      }
    }
  }
}

output is: duplicate numbers:1

duplicate numbers:4

Actually there is many ways to solve this little problem.

So problem solved now, amazing but how can you learn to do that, it’s not magic its just focus on 7 things:

  • Learn by doing, you must write a lot of codes, again and again.
  • Ask for help: try to use networks and friends who knows more about programming.
  • Google search engine: Google is your best friend.
  • Do not only read a Book and stop Practising.
  • Follow video tutorials and try to review the codes of other programmers, use Github, GitLab, etc..
  • Practice in projects and not in cases.
  • Use reverse-engineering.

Do not forget ever that computers do not understand mathematics or computing formula, he doesn’t even know what numbers are, your computer is always waiting for your codes to execute the algorithm, for example, random list of numbers from 1 to 10 and we need to sort this list.

LEAVE A REPLY

Please enter your comment!
Please enter your name here