Common Declarative Programming Paradigms
Engineering involves numerous paradigms and concepts that need to be used and applied at required places for making complete use of technology. One field of engineering that has gained significant importance in the last few years is software engineering. Due to the development and adaptation of different technologies in different areas and fields, different software is used for different purposes. And thus, different programming methodologies and concepts become an important part of software engineering. One important aspect of software engineering is declarative programming, which helps in describing the logic behind computation without even explaining the flow of the controls used in programming. The main phenomenon that drives such programming is logic and thus helps in the simplification of other programs for better computer programming and better output. We would thus discuss the major paradigms of declarative programming. Constraint programming is a special sub-paradigm of declarative programming that helps in the establishment of correlations between different variables but the correlations are formed under the presence of different constraints. Different constraints are used to establish the relationship and on the basis of the same, relationships are built and then declarative programming makes use of that particular logic for getting better results. Declarative programming also includes the concept and phenomenon of domain-specific languages. This phenomenon allows the application of different languages in different domains. The use of domain-specific languages help in making sure that the only the required coding is done and such that no additional or extra codes or commands are being used. Declarative programming makes use of the domain-specific languages because then it is easier to define the logic and work according the same. Since declarative programming is a concept that focuses mainly on logic, it has to...
Please join StudyMode to read the full document