Updated date:

Speaking the Language of Computers

What is a Computer Programming Language?

Which language do you use when you talk to your friends, parents, and relatives. It may be English, Hindi, German, Spanish, Telugu, Bhojpuri, Italian, French, Gujarati, and this list could go on and on because there are over 7000 languages spoken all around the world. We simply use any one of these languages to communicate with people and in the same way, to communicate with computers, we use computer programming languages. There are more than 650 programming languages like Python, Java, Ruby, Golang, C+, and Swift.




The need to learn the language.

As I said, we need to learn computer languages so that we can communicate with computers. Now, what is the need to communicate with computers?

Suppose, You have an idea for an App (like Mark Zuckerberg had an idea like Facebook, like Larry Page and Sergey Brin had google, like Reed Hastings had Netflix). Now, to create an App you need to write a particular set of instructions or We can say a set of codes in any of those programming languages so that the computer can understand and read it and then produce the output as per your wishes.






Let's have a look at a python program.

speaking-the-language-of-computers

For the above-given output, these two lines of code should be written.

for i in range(0,5):
    print("* " * (i +1))

Let's have a look at another python program.


speaking-the-language-of-computers

For the output given above, these six lines of code should be written.

for i in range(1,6):
    for j in range(1,6-i):
        print(" %2s" % "*", end="")
    for m in range(5,6-i-1,-1):
        print(" %2d"%(m),end="")
    print()

Above, those two different Python programs are not that difficult. Few lines of code, Not so much logic, Easy to write, and easy to understand. But it is not always the case. Professional Programmers has to write thousands of lines of codes.




Different kinds of computer language.

There are two basic kinds of computer languages.

  1. High-level languages.

    Python, Java, Ruby, and JavaScript are examples of High-level languages.

  2. Low-level languages.

    Machine code and Assembly language are two kinds of Low-level languages.


Low-level languages.

  • Machine code (Machine language).

Writing a code in machine level language is considered one of the difficult task because its code is different for every computer, and it does not use conventional mathematical notation. The code is written in binary digits (bits), strings of O's and 1's. Machine language was the first-generation programming language.


  • Assembly language.

The difficulty level in assembly language is less when it's compared to machine code or machine language. Assembly language is a second-generation programming language. This is built in such a way that it communicates directly with the hardware. It works as a fixed link between the software programs and the hardware. This language is readable by humans.





Apps and the Languages used.

Programming languages enable us to write programs and develop Video Games, Mobile Applications, and Web Applications. We use many web and mobile applications in our day-to-day life like Instagram, subway surfers, Netflix, Uber, Aarogya Setu, and many other apps. Different applications and games use different computer programming languages. Sometimes Applications use multi programming languages.

  • YouTube uses JavaScript for front-end development, and for back-end development, they rely on C, C++, Java, and python.
  • IBM uses Java, Groovy, and swift.
  • Twitter uses JavaScript for front-end and C++, Scala, Ruby, and Java for back-end.
  • Amazon uses Java, JavaScript, Ruby, and Swift.




Top computer programming languages and their release year.













NameYearChief Developer, Company

Java

1996

James Gosling at Sun microsystems

JavaScript

1995

Brendan Eich at Netscape

Python

1991

Guido van Rossum

C++

1985

Bjarne Stroustrup

C

1972

Dennis M. Ritchie

R language

1993

R core team

PHP

1995

Rasmus Lerdorf

Go

2009

Robert Griesemer

Scala

2003

Martin Odersky

Ease of learning.

Learning these programming languages is not very hard, but at the same time, it is not very easy either. Few programmers find python to be easy, and few other programmers find JavaScript easy. Everyone has their self-interests. Writing the correct logic so that it produces the right output is the real challenge for every programmer.


Sometimes the programmer may make a mistake in typing or make a mistake in writing the code like he/she may forget to put a colon at the end of the line or some other kind of syntax errors. Many find python programming language to be easier than C, C++, and Java because it is simple. At times the output given by writing ten lines of code in java and C++ produces the same output by writing 4 to 5 lines of code in python, but Java, C++, and others have their advantages.


A programmer may commit a mistake and can get many different kinds of errors. Sometimes the programmer solves one error and then runs the program to get numerous errors. Only people who write programs will understand the struggle. The seven most common kinds of error:-

  • Logic Errors
  • Syntax Errors
  • Runtime Errors
  • Compilation Errors
  • Resource Errors
  • Interface Errors
  • Arithmetic Errors




Coding is no less than writing a poem.

Quiz

For each question, choose the best answer. The answer key is below.

  1. Which country is known as the motherland of computer programming language?
    • United Kingdom
    • Japan
    • Switzerland
    • Germany

Answer Key

  1. Switzerland

Computer Programmers and the Decade-high demand.

Right from the beginning when computer languages were introduced, the demand for computer Programmers has been increasing. If you know to program, you can create your application and games. You can also work for big companies like Google, Facebook, IBM, TCS, and many others. Software development is a high pay-grade career and is as rewarding as working with people solving back-breaking problems. Programming is a career that is very much interesting. These days you can get right out of school and start doing a six-figure job.

People have started to make their children learn to write code and run programs. Coding is one of the essential skills required by most well-paying jobs today. Coding skills are valuable in IT, data analytics, research, web designing, and software engineering segments. Even people who teach coding are making a quick buck, so we can imagine the money in this career. But the thing is, not everyone can code, people who have started learning will mostly get bored or frustrated looking at the screen and the code and may quit.



To become a successful professional computer programmer, one should put a lot of time and effort, and the most important thing is interest in coding. If you are interested, then in the coming future, it would be easy for you to code.

© 2021 Vinit Singh

Comments

Iqra from East County & Cooking and Baking Expert on May 04, 2021:

I am very glad to read this interesting and useful article.

Thanks Vinitsingh

Related Articles