What is your favorite part in functional programming and why?

twitter logo github logo Updated on ・1 min read

Functional programming is cool and pretty close to mathematics ❤️

What is your favorite aspect of functional programming and why do you like it?

If you want to learn functional programming, will you learn

twitter logo DISCUSS (6)
markdown guide
 

I don't go for all that abstract math as it isn't really necessary to solve problems. And using those abstractions makes the code hard for new devs to learn (they first have to back-fill math theory).

But I love functional programming because it basically fixes the things that went wrong with structured programming -- mainly shared mutable state. It allows me to write code that is very simple and understandable. And it gives me more tools to express a solution in code. For example, union types.

F# is my language of choice.

 

F# is really awesome. Heard a lot of good things about it. Hopefully I will spend sometime with it.

 
 

Rust is not a functional language and it heavily promotes imperative style of programming.

 
 

Well.. Java as such is not functional language. But you can write Java in a functional way. But learning a pure functional language will help you to think differently.

Classic DEV Post from Feb 5

Ship it like Honeybadger

If my friends and I built a successful company with no funding and just 3 people, you can ship your project too.

Sendil Kumar N profile image
An explorer wandering in the land of programs. I am passionate about Open Source. "Docendo discimus"