Chances are—at some point in time—you've heard someone bring up the concept of declarative programming. Maybe it was in a Medium article, or maybe ...
For further actions, you may consider blocking this person and/or reporting abuse
Very refreshing having a digestible info dump on a programming methodology rather than just hearing it as if it's a buzzword.
The 🐙 loop was a very simple but effective way to understand the differences between WHAT and HOW.
Look forward to your future article on functional Programming that's being foreshadowed!
Thanks Phil! Maybe this time I won't have 5 months between blog posts.
Nice article. Just a remark though, I think CSS would be a better illustration of declarative programming than SQL, after all with SQL you're executing a statement so it's still a little bit imperative (and you can have side effects with UPDATE statements too), whereas in CSS you can only write rules.
That's a totally valid point, CSS is definitely a better example of a declarative language. I actually did go back and forth on which one to include. Thanks for the input!