+ 3

Language United

How do think if all programming language agreed to have only one single language .Is it possible? What will be the consequences of that?

18th Nov 2017, 9:33 AM
MONSIEUR GNETO
MONSIEUR GNETO - avatar
3 Answers
+ 6
Each language has its own purpose. HTML-create webpages Java-create mobile apps PHP-manage server SQL-manipulate databases Every language cannot be united
18th Nov 2017, 9:37 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
Yes of course @Muhammad Khairul Amirin Bin Yaacob .But what if we create a new language which do everything from server management to building mobile, manipulate databases , manage layouts , contents etc...I think it is still possible to come to it .If we have not seen yet , I think the reason is that no one has thought about that yet.
18th Nov 2017, 9:47 AM
MONSIEUR GNETO
MONSIEUR GNETO - avatar
+ 1
Oh, you certainly can... in a way. You can Run a server with Scala Finch Create a GUI with ScalaFX Access a database with Scala Slick Use Scalatags to describe a webpage, i.e. Html Use Scala.JS instead of Javascript Use Scala Ammonite as your system shell And maybe even use Scala for Android apps I'm sure that works for other languages as well (I really like Scala, you see). But, what you are really doing is using wrappers around the languages and conventions other systems understand. For example Scalatags will be converted to HTML, because a browser only understands HTML. So to use these things efficiently you have to understand the languages and APIs you are wrapping. If you don't know what <head> is in html, you cannot understand why you might write head() in Scalatags.
18th Nov 2017, 4:31 PM
1of3
1of3 - avatar