This refers to the use of multiple styles of programming for
an application. Object oriented, functional, procedural, query based, message
oriented languages can be used together for building an application.
Over the years, we have seen the evolution of different
styles in programming. It has been largely procedural in the early days. Then
functional programming started gaining popularity.
Soon object oriented programming become popular leading to
modelling real world entities as objects in the software world.
Query based programming come into prominence to standardize
and make it easy to interact with the database. Similarly message oriented
programming came about to make it easy to send and receive asynchronous
messages.
Though the trend has been to adopt the popular paradigm at
the start of the project, it was soon realized that each paradigm has its own advantages
and disadvantages. And it has become common to adopt different paradigms for different areas of the application, selecting the most suitable paradigm for
the specific area.
Majority of polyglot programming uses languages adopting
different paradigms to take advantage of each to solve specific problem areas.
-----------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment