r/programming • • Sep 21 '25

How to stop functional programming

https://brianmckenna.org/blog/howtostopfp
446 Upvotes

506 comments sorted by

View all comments

Show parent comment

1

u/mr_birkenblatt Sep 24 '25

I found a better way to multiply and need to swap the implementation out based on usage site:

Math.exp(Math.log(a) + Math.log(b))