Re:Why Functional Programming Should Be the Future of Software
by simion314 on Wednesday November 02, 2022 @07:54AM
(#33434261)
From my experience if you are not dogmatic/extremist about it you can gain a lot, so I try to do things in a functional way in my non functional languages.
[ Parent
| on HN ]
Re:Why Functional Programming Should Be the Future of Software
by skohan on Wednesday November 02, 2022 @07:58AM
(#33434292)
Yeah I totally agree. I think writing code which is "functional where possible" is super powerful and offers a ton of advantages. Trying to cover that last 20% of cases where you have to bend over backwards to create a performant functional solution, to solve a problem which is trivial with a little bit of mutability, doesn't make sense.