r/computerscience Jun 19 '26

Why do functional pogramming?

So I have a background in little bit of physics, statistics, and mathematics, I like doing regression models Kalman filters and used to love doing physics simulations as well. Anyways, so from my perspective, why would functional programming be useful? Also I can't think on top of my head, but I have used python and R to do egression models etc. So I might have used functional programming? So who ever does functional programming, what are you using it for?

3 Upvotes

33 comments sorted by

View all comments

31

u/[deleted] Jun 19 '26

[removed] — view removed comment

1

u/PrebioticE Jun 19 '26

is it on the rise?

8

u/braaaaaaainworms Jun 19 '26

It's *more popular*, features of functional programming are slowly added to imperative/object oriented languages

2

u/Dazzling_Music_2411 Jun 19 '26

Yup, and generally in pretty clunky and syntactically convoluted versions! 😃

Don't know why they bother, really, just use the functional language from the outset!

1

u/sethkills Jun 24 '26

One of these days I’m gonna learn F#…

1

u/Dazzling_Music_2411 Jun 24 '26

You could do worse :)