Polyglot Programming
Programming Paradigms
Overview
Polyglot programming is the practice of writing code in multiple languages to capture additional functionality and efficiency not available in a single language. Polyglot programming is considered necessary when a single general-purpose language cannot offer the desired level of functionality or performance to meet end user expectations.
In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages which performs the same operations and gives the same output independent of the programming language used to compile or interpret it. Generally, doing this gets a little tricky because different programming languages have different tokens associated with the same operation.
Benefits
Optimize performance, productivity, extensibility, agility and end-user customization where it matters.
Disadvantages
More complexity as we are using more than one languages.