Hi!

Just as most programmers today warn people not to use assembler, probably
future programmers will warn people not to use high-level programming
languages.

It is written in book Java How to Program ninth edition that instead of
using the strings of numbers that computers could directly understand,
programmers began using English-like abbreviations to represent elementary
operations:

1.5 Machine Languages, Assembly Languages and High-Level Languages

Programmers write instructions in various programming languages, some
directly understandable by computers and others requiring intermediate
translation steps. Hundreds of such languages are in use today. These may
be divided into three general types:

Machine languages
Assembly languages
High-level languages

Any computer can directly understand only its own machine language, defined
by its hardware design. Machine languages generally consist of strings of
numbers (ultimately reduced to 1s and 0s) that instruct computers to
perform their most elementary operations one at a time. Machine languages
are machine dependent (a particular machine language can be used on only
one type of computer). Such languages are cumbersome for humans. For
example, here’s a section of an early machine-language program that adds
overtime pay to base pay and stores the result in gross pay:

+1300042774
+1400593419
+1200274027

Programming in machine language was simply too slow and tedious for most
programmers. Instead of using the strings of numbers that computers could
directly understand, programmers began using English-like abbreviations to
represent elementary operations. These abbreviations formed the basis of
assembly languages. Translator programs called assemblers were developed to
convert early assembly-language programs to machine language at computer
speeds. The following section of an assembly-language program also adds
overtime pay to base pay and stores the result in gross pay:

load basepay
add overpay
store grosspay

Although such code is clearer to humans, it’s incomprehensible to computers
until translated to machine language. Computer usage increased rapidly with
the advent of assembly languages, but programmers still had to use many
instructions to accomplish even the simplest tasks. To speed the
programming process, high-level languages were developed in which single
statements could be written to accomplish substantial tasks. Translator
programs called compilers convert high-level language programs into machine
language. High-level languages allow you to write instructions that look
almost like everyday English and contain commonly used mathematical
notations. A payroll program written in a high-level language might contain
a single statement such as

grossPay = basePay + overTimePay

Will future programmers probably warn people not to use high-level
programming languages just as most programmers today warn people not to use
assembler?

Reply via email to