r/coding • • Aug 05 '19

Why Declarative Coding Makes You a Better Programmer

http://minborgsjavapot.blogspot.com/2019/08/why-declarative-coding-makes-you-better.html
3 Upvotes

7 comments sorted by

View all comments

11

u/Paddy3118 Aug 05 '19 edited Aug 06 '19

The author has a skewed idea of declarative programming. If it's declarative, why the need to explicitely change the type of the return value of sum? It looks more like functional style; and if the author doesn't know that then ...