Functional Programming

Comments discuss learning functional programming, its benefits over OOP, reasons for limited adoption, and recommendations for resources like essays and courses.

📉 Falling 0.2x Programming Languages
5,027
Comments
20
Years Active
5
Top Authors
#5082
Topic ID

Activity Over Time

2007
4
2008
43
2009
82
2010
133
2011
130
2012
173
2013
224
2014
363
2015
315
2016
376
2017
365
2018
235
2019
416
2020
388
2021
436
2022
493
2023
401
2024
255
2025
189
2026
6

Keywords

OO FactoryFactoryFactoryFactories DB www.cs IMO fp.html ML defmacro.org OOP HTML fp functional functional programming programming code oo oop imperative map haskell

Sample Comments

Peaker May 13, 2012 View on HN

Did you try reading Why Functional Programming Matters [1] ?[1] http://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pd...

lectrick Jan 21, 2014 View on HN

Learn functional programming, then apply those techniques to your language of choice.

andrewvijay Apr 12, 2016 View on HN

The more I read about functional programming the more I question why are things this hard in traditional oops. If so many people have been doing oops for so many years then it must have something that is easy to pick up or something that is easier to work with. But after doing some functional programming the number of lines are painfully less and the code is easier to understand. I was thinking may be I was giving too much credit to FP but I was not it's simply just the way things are. But

spacetraveler11 Jul 13, 2022 View on HN

Learning generalized concepts of FP just make a lot of sense IMO. Knowing that you can map all functors the same way wether it's an Optional, List, Future or Either is a useful tool to have. Using it in a language with syntactic sugar to compose map and flatMap (>>= in Haskell) operations helps to write clean code a lot. For me, solving problems in a functional way is not always as intuitive as the imperative approach but the end result is usually worth it. That said, FP can become a

Ericson2314 Apr 28, 2015 View on HN

Learning functional programming is arguably more about unlearning all the terrible hoops other languages make one jump through.

davnn Oct 17, 2016 View on HN

I share the exact same story. Progfun is a really smooth introdu tion to FP in my opinion, no crazy syntax and only the core concepts. For any deeper concepts and if you don't understand what FP really means you should check out a purely functional language.

mountainriver Aug 9, 2022 View on HN

And functional programming is simple?

dna_polymerase Jun 20, 2020 View on HN

Hated functional programming in university, now wish there was wider industry adoption. Deep diving into FP made me think more about the code, rather than just writing it in an OO-Language.

activitypea Feb 11, 2022 View on HN

"Why isn't functional programming the norm" discusses your points. If you haven't seen it, it makes a great in-depth argument for why you're right :)

wofkwro Oct 2, 2018 View on HN

functional programming saves the world. learn that.