A biggest benefit of functional programming I've noticed in myself is how it has changed my thinking of programming in general. It has had a profound effect on how i do my code in other languages too.
This is not only reflected in the grumbling you can hear emitting from me when using less functional languages, but also winding ways to do things differently in for example Java. Avoiding unnecessary use of mutable state, using map and fold instead of iterations where applicable etc. Separating Essential Data from the functions that derive other data from it etc.
This has been a result of some time of using functional languages. But it doesn't mean that you need to use extensive amount of time with FP (tho i warmly do advice you to). For those of us who need a gentle intro to broaden their perspective, PragPub Magazine has a great article to bootstrap yourself with functional thinking.
No comments:
Post a Comment