r/functionalprogramming • • Jun 22 '21

JavaScript Imperative vs Declarative programming in JavaScript

Hi everyone, I have tried describing the difference between imperative and declarative programming. It's not the first time that I have tried and I am hoping that I am able to communicate it in a clear way but I would appreciate the feedback of the community.

Please have a look at

the Medium post: https://medium.com/weekly-webtips/imperative-vs-declarative-programming-in-javascript-25511b90cdb7

and the YouTube video: https://www.youtube.com/watch?v=oFXOLbAX4Pw

23 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/ragnarecek Jun 23 '21

Scala

I ended up removing Scala from the article completely. You are right that its placement is a bit complicated sort of like with JavaScript. Because I have placed JS among OOP I decided to do the same with Scala but these are real examples of languages intentionally built to be multiparadigmatic.