DEV Community

Discussion on: Imperative vs Declarative Programming

Collapse
 
louy2 profile image
Yufan Lou • Edited

Imperative thinking is about order.
Declarative thinking is about dependencies.

You can code in either style with the other mindset, too.

Imperative thinking is about specialized control.
Declarative thinking is about generalized analysis.