+ 2
How to mix programming languages?
My ask is: how it works? It's higher school? 🤔
5 Respostas
+ 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
+ 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.....
+ 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
+ 2
@kuba very helpful answer