Declarative Vs imperative code

https://medium.com/javascript-in-plain-english/nobody-cares-whether-you-used-imperative-or-declarative-programming-66c396ecce06

I was talking to the year 13 class about declarative and imperative code. Academically it’s a clear distinction. In A-level it’s Python Vs Haskell. In conversation it’s SQL and RegEx Vs traditional coding. In reality it’s all just code.

There are some nice functions that do Python in a declarative manner, but as long as you understand, that’s all that matters…in your personal programs anyway.

Leave a Reply

Your email address will not be published. Required fields are marked *