We have to understand two things, one machine knows nothing. And the second one is tools, language or anything that makes work easier. In this context, we will be discussing the key points of every programming language. Now, before starting any programming language we should have to know what kind of the particular language are. High level or low level. High level is independent code and similarly, low level is hardware-dependent code
Basics and features
Does the language has straightforward syntax or not? case sensitivity of that language, Object-oriented or not. Especially is that dynamically typed or not?
Code readability and memory management of that language. Similarly, the library and the language are that large or small. Platform independency of that language.
If these all fit your requirements then go for that language.
Data types
We know 1,2,30 are values even “yes”, and “no” are a value and characters are also value. So, in that language how and what these values are being defined?
Variables
When you are writing a code then you gonna have to store those values. and those values are in a memory location. So, you assign those values with a name. These names are variable.
Statements and functions
The statement is an action. For any kind of action or loop, we need a statement. As we know machine knows nothing and we have to give instructions so in case of multiple action or loops we apply statements. Depending upon the language the statements changed. Declaration, expression etc.
And the function is a collection of instructions or code. It contains instructions so that you do not have to write some code. Like print function for printing a value.
Loops
We will not every time reach our targeted condition with a bunch of values. So, we apply loops to achieve that. By applying statements, variables and functions. Basically, we apply for, do, and do while loops to achieve the target. Every language has this type.
Data structures
There are several data structures like an array, list, tuple, dictionary, stack etc. But in the particular language which use efficiently, Which uses are common. Differences between them and their applications.
These are the basic things which we have to know if we are starting any programming language. We are not going into the libraries and OOPs. Those are in-depth. But according to your target, passion, and work you will select a coding language so these are the main thing which you have to know. First, see this then select.
Most importantly if you know these in-depth then you will start any programming language apart from your known one.
No responses yet