Comparing Declarative and Imperative Programming
Understand how to write code in the declarative style.
Imperative vs. Declarative programming
Imperative programming focuses on how to solve a problem, describing each step as actions.
Functional programming, by contrast, is declarative. Declarative programming focuses on what is necessary to solve a problem, describing the data flow. Declarative programming usually generates less code than imperative programming. Less code means fewer things to write, more ...
Get hands-on with 1400+ tech skills courses.