Assignment #2: Comparing Languages
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
- Diff between Compiled Language Vs Interpreted Language Vs Declarative Language?
Ans:
Compiled Language | Interpreted Language | Declarative Language |
-translators that generate machine code from source code | -step-by-step executors of source code, where no pre-runtime translation takes place | -a program specifies what is to be done rather than how to do it |
2. Example of Declarative Lang?
SQL and Prolog etc.
3. Pros and Cons of Declarative Lang?
Pros | Cons |
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) |