re: What the Heck is Declarative Programming, Anyways? VIEW POST


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!

code of conduct - report abuse