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.