If you're a non-programmer and want to learn a programming language, don't feel you need to go to university or hire a teacher.
There are many ways to learn how to code from the comfort of your home.
This article is a real-life guide to learning a programming language in 10 days. It is NOT a crash course on learning programming or learning the best way. You don't need any previous knowledge or experience.
In this article, you will learn what you need to do in order to learn a programming language in 10 days.
First I must clear you that, It's not possible to learn a programming language in 10 days.
But by following these steps for 10 days you will feel that you have done a lot compared to the one who doesn't follow these steps.
So let's start our article and know the steps which we need to follow for 10 days
1. Programming Language and its application-
You need to learn what programming language you are using and what are its applications. how it is used and where it can be used learn its basics on the first day.
2. Basic Concepts
The next step to it will be to learn the syntax, data types, operators, and more.
First, you need to know how to declare the variables for storing data values, and a memory location for a data type. The names of variables are usually alphanumeric like 0-9 or a-z. Also, they have special characters like _@ and others. Variables can hold values of any data type supported by the programming language. This value may change during program execution.
So you should learn about the programming language's basic concepts.
3. Strings and Variables-
Strings are used for data values that are made up of ordered sequences of characters. A string can contain any sequence of characters, visible or invisible, and characters may be repeated.
A variable is a way of storing information in a computer program. A variable is like a container and the name of the variable is the label on the container which shows us what is inside. Variables are used in coding and programming to help coders understand, remember, and use the information in the program.
4. Control structures
Control Structures are just a way to specify the flow of control in programs. Any algorithm or program can be more clear and understood if they use self-contained modules called logic or control structures. It basically analyzes and chooses in which direction a program flows based on certain parameters or conditions.
5. Function and modules
Functions are "self-contained" modules of code that accomplish a specific task. Functions usually "take in" data, process it, and "return" a result. Once a function is written, it can be used over and over and over again. Functions can be "called" from the inside of other functions.
6. Exception and Files
Learn about exceptions of the programming language and its files.
7. Functional Programming
Functional programming is a programming paradigm in which we try to bind everything in a pure mathematical functions style. It is a declarative type of programming style. Its main focus is on “what to solve” in contrast to an imperative style where the main focus is “how to solve”.
8. OOP concept
Object-oriented programming (OOP) is a computer programming model that organizes software design around data, or objects, rather than functions and logic.
9. Revise and Practice
The last step will be to revise what you have learned and then practice it as long as you feel like you have mastered the language. Practice is the key.