+ 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 !!?

10th Apr 2017, 4:56 PM
Saja Husam
Saja Husam - avatar
96 ответов
+ 83
The short answer is yes most of them are:)
10th Apr 2017, 4:58 PM
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓
ɔ͒̋ᴉ̼̻̤͙͇͈̓ͧʇ̋̌̃ḓ̣ͯʎ̱̝̗̗̺̐͊ɹʞ͇̮́̍̾̽̈́̓ - avatar
+ 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.
10th Apr 2017, 5:12 PM
Senfman
Senfman - avatar
+ 21
I am trying (and trying and trying) to get better at Java and found that C++ and C# help prepare for Java
11th Apr 2017, 12:30 PM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 17
how is that?? Mr Denny lukman
10th Apr 2017, 10:01 PM
Saja Husam
Saja Husam - avatar
+ 16
@Joe hope you find Java very fun ;)
11th Apr 2017, 12:41 PM
Saja Husam
Saja Husam - avatar
+ 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.
12th Apr 2017, 12:49 PM
TransHedgehog
TransHedgehog - avatar
+ 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).
11th Apr 2017, 9:59 AM
Senfman
Senfman - avatar
+ 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 ☺😉
12th Apr 2017, 5:36 AM
Iwan
Iwan - avatar
+ 11
LoGiC is same😊😊
12th Apr 2017, 4:36 PM
Saumya
Saumya - avatar
+ 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
12th Apr 2017, 11:09 AM
Senfman
Senfman - avatar
+ 10
why do I have 42 answers and only 17 likes hhhh !
13th Apr 2017, 2:53 PM
Saja Husam
Saja Husam - avatar
+ 9
I would say that languages are going to be very similar, but understanding different platforms and frameworks is another beast.
11th Apr 2017, 10:11 AM
Eric Mattos
Eric Mattos - avatar
+ 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.
12th Apr 2017, 2:25 PM
Vranceanu Robert 🇷🇴
Vranceanu Robert 🇷🇴 - avatar
+ 9
All are relatives, they have a hierarchical relation
13th Apr 2017, 6:16 PM
Sachin Artani
Sachin Artani - avatar
+ 8
yea most languages are same once u master in any language other wil b easier to learn,understand.
10th Apr 2017, 5:42 PM
Vega
Vega - avatar
+ 8
the syntax... most of the time the use... no most of the time
13th Apr 2017, 3:00 AM
DeleteThisAccount
+ 8
ruby/python
13th Apr 2017, 10:26 AM
Supersebi3
Supersebi3 - avatar
+ 7
c++ Java are in one row in similarity
15th Apr 2017, 1:42 PM
Player
Player - avatar
+ 6
programing language reminds me of language family of Europe
10th Apr 2017, 9:18 PM
Denny Lukman
Denny Lukman - avatar
+ 6
Java and c# are most similar to each other
11th Apr 2017, 4:39 PM
Thanh Le
Thanh Le - avatar