Lets talk about this…
Understanding programming well, is just like understanding any kind of trade or bussiness.
Take building tradesor construction trades for example. In order to build, you need to see the whole picture from the foundation to the finished product and understand every part of it in order to fully appreciate what and why it is.
You can safely say that a computer is simply operated by a a series of on and off switches also called transistors.
So, whatever you are doing in the computer is simply inputing a series of combinations of off and on switches which in turn give you the related output.
The combinations are represented in what is known as the binary code, combinations of 0s and 1s grouped into
eight digits or
These can contain milions of combinations, therefore to simplify the whole process, engineers have come up with
High Level Languages,
Machine Languages, and the
When you write your code, it gets translated into assembly language, then to machine language which the computer understands.
When you write code, the
Syntax parser, the interpreter between your code and the computer, also preceded by
lexical analyzer, reads your code line by line for any grammatical errors. This however is a topic of another class.
Next Lesson: Syntax Parsers, Execution Contextx, and Lexical EnvironmentsClick here👉🏽
Follow me on twitter Twitter.