Java

TOPIC 01 – PROGRAMMING LANGUAGES

 

 

LESSON NOTE

 

 

PROGRAMMING LANGUAGE

 

A programming language is a written language designed to communicate instructions to a computer.

 

COMPUTER PROGRAM

 

A computer program is a sequential list of statements (commands) that work together to perform a task.

 

EXAMPLE

 

Here is an example of a computer program written in a programming language called Turing:

 


The program consists of four statements (each line).  It will ask the user for his/her name and then greet the user.

 

 

SYNTAX

 

The syntax of a language describes how different letters, numbers, symbols and spacing are to be combined in order to form a correct statements and programs.

 

In the example Turing program above, you can see the statements make use of different symbols such as double quotes and colons as well as spacing.  To understand where and how to use these symbols is to understand the language’s syntax.

 

MANY DIFFERENT LANGUAGES

Over the years, many different programming languages have been created.  Some were created out of necessity while many others were created as personal projects.

 

Today’s dominant languages are quite complex and continue to evolve.  Large groups of professionals work steadily to maintain and update such languages.

 

A language’s success depends on its strengths.  For example, C# (pronounced C Sharp) had recently enjoyed increased success as it was one of the earlier languages to be useful for smartphone app development.  It’s popularity has now dipped a little as other languages have started to be used in Smartphone App development. 

 

At the other end of the spectrum, Steve Jobs refused to include support for Flash Actionscript on the iPhone claiming that the language was to intensive on battery life.  Since, Flash’s popularity has gradually decreased and its future is in doubt.

 

MOST POPULAR LANGUAGES

Below is a list of the most popular programming languages as stated by Tiobe Software.  The top 10 languages make up about 65% of market share in 2022.

 

 

 

 

In 2017, the top 10 languages made up about 43% of the market share which was significantly lower than five year ago (see below).

 


Below is what things looked like in 2012-2013.  At that time, the top 10 languages accounted for 75% of market share.