πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

Overview of Delcarative Languages

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

  1. Comparison between Compiled Language, Interpreted Language and Declarative Language

A. compiled language is a programming language whose implementations are compilers and not interpeters.(Example-Java, C)

B. An  Interpreted language is a programming languagr which are generally interpreted, without compiling a program into machine instructions.(Example-Python)

C. Declarative programming is a programming in which the programmer defines what needs to be accomplished by the program without defining how it needs to be implemented. (Example-SQL,JSON,YAML)

2. Example of Declarative Languages

example of declarative languages are SQL, Haskell, JSON, YAML.

3. Pros and Cons of Declarative Languages

Pros

-Declarative languages are short and efficient code.

– Easy optimization as implementation is controlled by an algorithm.

Cons

-Sometimes hard to understand for external people.

-Based on an unfamiliar conceptual model for people.