We learnt in the previous course about what a computer program and programming means. We thus know that we need a language in order to speak or communicate with a computer. There are basic kinds of programming languages. A computer can nevertheless understand only Machine Language directly. The first computer programs were written in machine language.
- Directly understandable by the computer
- Processing and outcomes were extremely fast
- Being represented in Binary form, the codes were was very difficult to learn and understand from people
- All the information and instructions needed to be manually transcribed into machine language binary type and all outcomes had to be deciphered from machine language to human readable form
- Coding and Decoding took a very long time
- Length of the program was immense and subsequently led to mistakes
Assembly Language: This language employed using Mnemonics human memory aids with limited use of Machine Language. These aids came in the shape of abbreviations for standard repeated purposes like AD or ADD for addition, SUB for subtraction, HLT for stopping or stopping the app. Additionally, it started using Octal or Hexadecimal codes as brief hands for Binary codes.
There is always the temptation to utilize the latest and best attribute in c++ code obfuscator. This is true particularly with inexperienced developers. Complexity and the esoteric will make a program code hard to follow, maintain and debug. Simplicity, most importantly, must be enforced.
Maintain the Coding Simple
If another programmer cannot know, at a glance, what the code is all about, then the code is poorly written. So often it will become necessary when debugging or improving code, that the code be rewritten. This is an expensive exercise for the business in addition to being a non-productive and wasted effort.
- Easier code instead of binary machine Language
- Shorter programs
- Deficiency of uniformity: Abbreviations used by Assembly Language differed from machine to machine. Therefore, each assembly language code has been limited to a particular machine and demanded a Translator to convert it to a machine usable form
High Level Language HLL: transcribe applications as statements Using limited vocabulary from English. Cases of High Level Languages are – BASIC, PASCAL, FORTRAN, COBOL, ALGOL, CORAL-66, and FORTH. In fact, what we use now as programming languages are examples of High Level Languages.
- Uniformity attained: overrides the lack of machine dependent code
- Use of English with Good syntax made it easier to write apps
- Programs written in High Level Languages are much shorter, flexible and faster to work with and debug