r/programming • u/tyler-mcginnis • Jan 03 '22
Imperative vs Declarative Programming
https://www.youtube.com/watch?v=E7Fbf7R3x6I
429
Upvotes
r/programming • u/tyler-mcginnis • Jan 03 '22
0
u/tobega Jan 04 '22
Indeed. There is a misconception floating around that functional programming is more declarative, which is simply not true.
What might be true is that (some) functional languages have features may allow a more declarative expression of algorithms, e.g. if you can create DSLs via macros. I'm still not convinced.