Preethi Kasireddy
1 min readDec 22, 2016

--

Interesting. I often find that functional code is easier to read and understand because you are encouraged to create small, composable, and reusable functions versus Classes and inheritance.

Moreover, I’ve found that when I start to design my programs to be more pure, and when I push any side-effects to the edges of my program, things like testing, refactoring, reusing and reasoning about code become easier.

Of course, functional programming is not the end-all-be-all. There’s tradeoffs to both approaches, which is perhaps a blog post on it’s own :)

Thanks for reading.

--

--

Preethi Kasireddy
Preethi Kasireddy

Written by Preethi Kasireddy

I do not publish on Medium any longer. You can find my latest writings here: www.preethikasireddy.com

Responses (1)