How to mix programming languages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to mix programming languages?

My ask is: how it works? It's higher school? 🤔

25th Nov 2017, 4:41 PM
Five Design
Five Design - avatar
4 Answers
+ 9
I'm assuming we are NOT talking about an obvious example of the HTML/CSS/JS triad :) Well, the best option would be to enclose single applications written in different languages as standalones and make them communicate with each other via some protocol or dumping data in a common database pool. Another option is embedding one language into another by using specific libraries enabling that. I have a ready-made example on how to execute SQL queries via Python. This can create a valid SQL database which can be read by another application written in, let's say, Java or C++ https://code.sololearn.com/csyhsIovmZJ3/?ref=app
25th Nov 2017, 8:31 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 6
I think this topic is worth a little more discussion. Frameworks/libraries vs. languages etc. Using Python for web stuff is cool and means it has to work with the languages Kuba mentions.....
25th Nov 2017, 9:21 PM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 2
HTML is just a markup (tags) CSS is nothing but properties of style object in DOM JavaScript is what we used to call a scripting language but now it's getting powerful day by day due to better ES6 recommendations, so can call it a programming language (🤔). but here's the fact JS runs on interpreter called V8(most popular) written mostly in C++. so actually c++ parses and compiles ur JS code. moreover you cannot allocate memories using JavaScript , so it's not a full fledged programming language. JS was developed to assist web designers in basic programming stuffs, but now a lot of people use it so it's popular
27th Nov 2017, 1:08 PM
Morpheus
Morpheus - avatar
+ 2
@kuba very helpful answer
27th Nov 2017, 1:15 PM
Morpheus
Morpheus - avatar