How to learn the basics of any language
Step by Step guide to master the basics of any programming language
Coding is fun to learn, but reading through all those chapters of the textbook is not easy! So here is a simple strategy I follow to learn the basic syntax of almost every language I have learned, whether Python, Java, C++, PHP, C#, Javascript, or any other language, just for a Simple Calculator!
Pre-requisite
Note: This article is to learn PROGRAMMING LANGUAGES only! This is not for frameworks and libraries.
To understand this, you must be familiar with the basic principles and fundamentals of programming. The theory must be understood first!
Familiarize the Basics
Firstly, let us get the requirements clear. We need a simple calculator that takes 2 integers and 1 arithmetic operator as individual inputs. We finally output the result of the arithmetic expression.
By completing these steps in its simple form, you would have covered these basic concepts of the language:
- Initialization of project on IDE
- Simple input and output
- if-conditions and case statements