MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/coding/comments/cmd15v/why_declarative_coding_makes_you_a_better/ew1r1ac/?context=3
r/coding • u/nfrankel • Aug 05 '19
7 comments sorted by
View all comments
11
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 ...
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 ...