While going through RxJS, found this amazing article explaining the differences of imperative and declarative programming.

In computer science, declarative programming is a programming paradigm that expresses the logic of a computation without describing its control flow.

Here are some excerpts and learning cliffs to lighten up Saturday quarantine:

I draw the line between declarative and non-declarative at whether you can trace the code as it runs. Regex is 100% declarative, as it’s untraceable while the pattern is being executed.