Why programming languages having different codings?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why programming languages having different codings??

I've seen lot of codes in lot of programming languages.. for example in c , to print hello world, we should type #include<conio.h> void main () { printf("hello world") } . but in Python , print "hello world" . in other languages it should be vary,. my question here is, why programming languages having their own codings? If they all having same codings , we can easily code in any programming language. Anyone please explain me.

17th Mar 2017, 6:20 PM
Farooq Khan.S
Farooq Khan.S - avatar
3 Answers
+ 14
Every programming language is invented by different mind set, experience and objective, and there is no universal guideline setup for creating a language. So whenever a new language comes up it's their inventor choice to think about best naming/ syntax so this is all up to them what they think is best will add there. For example to add two numbers i will create function Like Add() and for me this will be best suitable but other may think Sum() will be best suitable. So it's all mind set they think on that time.
17th Mar 2017, 6:27 PM
Hassan Amr
Hassan Amr - avatar
+ 10
@Farooq You are welcome
18th Mar 2017, 8:01 AM
Hassan Amr
Hassan Amr - avatar
+ 4
super bro.. thank you
18th Mar 2017, 7:49 AM
Farooq Khan.S
Farooq Khan.S - avatar