Code, Fun and Trivias

Polyglot Programming

I have seen this term popping up now and then in various contexts in blogsphere. It ought to be something new. Wikipedia hesitate to go the right article right away before it suggests few options in various contexts. That means this is a newly coined word.

A preciese defenition of Polyglot programming is in wikipedia anyway 

Polyglot program are to make liberal use of languages which use different characters for comments and to redefine various tokens as others in different languages. Often good use is made of quirks of syntax

As you would imagine it is stupid to have a cocktail of code in your project leaving the codebase unreadable, and bugs difficult to track.  Industry has come in terms to allow a redefenition .

“Embedded SQL with C#, C and Assembly all could be categorized as polyglot program”

The ideology here is to choose the right language for the right application, reducing the development cost of the software project.

Comments (View)
blog comments powered by Disqus