Can one mix different programing languages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can one mix different programing languages?

4th May 2018, 10:36 PM
Gary Schneidger
Gary Schneidger - avatar
3 Answers
+ 1
Mix as in use together in the same file, no. Mix as in use together, yes.
5th May 2018, 4:44 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
Maybe not the way you are thinking. For instance on a web project you might interact with CSS, HTML, JS, PHP, MySQL. You can also call functions from imported DLLs that are written in different languages.
5th May 2018, 1:06 AM
John
John - avatar
- 1
Well the closest you could get would be using php ti generate js on the fly... but not really because php will get parsed to html and javascript and not be php any more when it hits the browser.
5th May 2018, 5:23 AM
Adam
Adam - avatar