+ 34
Are programming languages similar to each other?
I had leaned from ages Quick Basic programming language and now. I'm learning c++ , I had found some similarities between both languages in terms of coding or the ideas of coding ... I think for future to learn other languages such as HTML language or Java ... so will I have problems in learning other language or all might be much close to each other !!?
95 ответов
+ 83
The short answer is yes most of them are:)
+ 26
The syntactic principles are usually quite similar, especially if languages share the same purpose (script vs. markup vs. programming languages) and fall into the same paradigm or zeitgeist (Basic vs OOP etc). There are, of course, mix forms like Python (half script half programming language), where you may find parallels to multiple languages which may differ syntactically due to their difference in style and purpose. Additionally, of course, every new language wants to contribute something new, that's where the motivation building it comes from. Sometimes this surely influences syntax. However, as we are talking about mainstream languages massively used, normal developers tend to pick new languages that they can adopt quickly, i.e. are not too revolutionary.
+ 21
I am trying (and trying and trying) to get better at Java and found that C++ and C# help prepare for Java
+ 17
how is that?? Mr Denny lukman
+ 16
@Joe hope you find Java very fun ;)
+ 15
Programming languages can be grouped in types.
most languages in a type behave similar and almost all languages have some similarity on the basic leves.
The two most common groups are functional languages and imperative languages.
Functional languages are based on mathematical terms and can therefor be "proven" with mathematical algorythms.
Imperative languages are the common used languages like C++, Java etc.
Most languages have the same set of building blocks to express logical terms.
The more user friendly it is the more features it has.
You could write an entire code in bit operators comparing values and shifting them around but that's inconvinient, that's why higher programming languages exist that translates your code into these operations ( that part is called a compiler).
Also most higher languages are updates or inspired by other languages and therefor have similar syntax.
+ 12
In Linguistics there is also a field of computers and language. Computers can understand any language as long as it is syntactically logic and without ambiguity. So, it's more a challange to help humans to feel comfortable in the act of computer-human interaction and programming. Therefore computing languages come closer to the human language (SQL being maybe the most impressive example in that field). And as English appears to be THE digital lingua franca, computer languages look/sound more or less similar to the English language. To add, English as a so-called symbolic language, I.e. quite understandable even with only little inflection going on, is quite a promising candidate for this purpose (but so would also Mandarin as a friend told me).
+ 11
No, not always for example the coding are the amongst the same but the goal of each language has some differences in. HTML, CSS, JavaScript, SQL, jQuery, Ruby and PHP are all languages for the web but isn't the same... good question ☺😉
+ 11
LoGiC is same😊😊
+ 10
Java 8:
int n = 10;
int[] values = new int[n];
IntStream.range(0,n).forEach(val -> values[val] = val);
C++ 11:
std::array<int, 10> a;
std::iota(a.begin(), a.end(), 1);
Python 3:
n = 10
lstValues = [i for i in range(n)]
And yet, we haven't mentioned about whether or how to do in php, SQL, HTML, etc.
Opinion != Knowledge
+ 10
why do I have 42 answers and only 17 likes hhhh !
+ 9
I would say that languages are going to be very similar, but understanding different platforms and frameworks is another beast.
+ 9
The first language I learned was HTML, which I still learn now. Because HTML is a markup language, I feel afraid that learning programming and scripting languages may be difficult. I know you asked if programming languages are similar to each other; I say yes, but syntax, algorhytms and what they are used for differencies them.
+ 9
All are relatives, they have a hierarchical relation
+ 8
yea most languages are same once u master in any language other wil b easier to learn,understand.
+ 8
the syntax... most of the time
the use... no most of the time
+ 8
ruby/python
+ 7
c++ Java are in one row in similarity
+ 6
programing language reminds me of language family of Europe
+ 6
Java and c# are most similar to each other