Computer science and its programming language.
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Compiled vs Interpreted Language vs Declarative lang
In computer science, declarative programming is a programming paradigm—a style of building the structure and elements of computer programs.
Example of Declarative Lang:
“Hm. I notice you forgot something.” Or “I wonder if there’s something you need for school today.” In this example, declarative language reframes the prompt, inviting the individual to hear the mental cue that is driving you towards the solution.
Pros and Cons of Declarative Lang:
Advantages | Disadvantages |
---|---|
Short, efficient code | Sometimes hard to understand for external people |
Can be implemented using methods not yet known at the time of programming | Based on an unfamiliar conceptual model for people (solution state) |
Easy optimization as implementation is controlled by an algorithm | Hard to take characteristics of individual applications into account during programming |
Maintenance possible independent of application development |