What is a programming language?

As its name denotes. It is an artificial language and has some similarities with natural languages. The most common factor is grammar.
So, to write some sentences in a natural language (Arabic, English,..), you need to know how to form sentences according to its grammatical rules.
And to write some lines (code) in a programming language, let's say, Java, you should write according to Java grammatical rules.

Learning how to program is learning how to use those rules correctly.

So a programming language is the tool to make a computer perform our instructions.

To break the icy words, here is a snapshot of code written in Java programming language:

public static void main(String args[]){
System.out.println("Hello World!");
}


This sample code follows Java rules. It instructs a computer to print out "Hello World!"

But, a real-world program would certainly need more code lines.
.. not yet lost :)
Well then, don't care too much if it is still messy. We all went through once. I'm just trying to make you familiar with the concept of programming.

Detailed and step by step tutorials will follow.

No comments: