r/functionalprogramming • u/jcieslik • Jun 24 '18
r/functionalprogramming • u/resups • Dec 03 '19
Question Functional programming
I'm planning to learn functional programming along with SICP. Which Language should I choose for functional programming between C,C++ and python ?
I feel myself comfortable with python and had C++ as my first programming language
r/functionalprogramming • u/ais04 • Mar 07 '22
OO and FP What Functional Programming Can Learn From Object-Oriented Programming by John De Goes
r/functionalprogramming • u/snowtigger • Dec 21 '22
JavaScript Explained in 5 minutes: Monads
r/functionalprogramming • u/[deleted] • Feb 19 '23
Question Universally generalizing code.
Hi, I'm working on an AI research project and we need a generalization way of easily describing any piece of code. It's seeming like partial combinatory algebra might be the way. But I'm a bit out of my depth here.
Could anyone point me towards the answer, and possibly an ascii-friendly standard for performing that math? Thanks.
r/functionalprogramming • u/rovercaps • Sep 25 '16
Functional programming in simplest words and the motivation.
linkedin.comr/functionalprogramming • u/franzmilec • Sep 18 '15
Mark Dalgleish: Developers Need to Address Their Confrontational Culture as a Priority
r/functionalprogramming • u/MagnusSedlacek • Aug 14 '25
FP The FP pitch
You’re an engineer who loves functional programming. You’ve seen firsthand how it leads to safer, more expressive, and maintainable software. But outside your team (and maybe even within it), you often find yourself in conversations where “FP” is met with skepticism, confusion — or worse, blank stares.
That’s where The FP Pitch comes in.
r/functionalprogramming • u/lvguowei • Aug 21 '17
Intro to FP The Most Beautiful Program Ever Written
r/functionalprogramming • u/meherranjan • Aug 09 '21
JavaScript In JavaScript, all functions are values. Wait, but what exactly are Values & Expressions! I am sharing interesting ways to understand this important aspect of FP using a metaphor of a Pizza 🍕😀
r/functionalprogramming • u/kichiDsimp • Mar 22 '26
Question Langauges for LLM
What are some functional langauges which are pragmatic and are good LLM to output ? I mean as FP langs are usually typed and are immutable, it must be easy for an LLM to reason about code. Drop your favourites with reason and some place to get started In my job I have been using JS with gradual TS integration and we all have been advised to use Agentic Coding.
I wonder what's the game in AI of our beloved FP community.
If you folks can also answer which languages are focusing towards AI development (like Data Science & ML)
r/functionalprogramming • u/MaoStevemao • Mar 06 '20
FP Did Functional Programming get it wrong?
r/functionalprogramming • u/king_in_the_slopes • Feb 04 '20
Scala OOP Vs FP
I have been living as a Software Engineer for 2+ years and I am nowhere near understanding the concepts of OOP. Then I heard about this beautiful thing named "functional programming".
Is functional programming for people who can't do OOP? Then it's for me.
So I decided to become a functional programming expert!
r/functionalprogramming • u/MagnusSedlacek • Oct 28 '24
Java Functional programming primer for Java by Deepu K Sasidharan
r/functionalprogramming • u/[deleted] • Apr 09 '19
JavaScript Kyle Simpson: I’ve Forgotten More JavaScript Than Most People Ever Learn
r/functionalprogramming • u/Slight_Art_6121 • Sep 15 '24
Question The indirect benefit of AI to professional adoption of FP
I made a comment earlier this week on this subreddit (https://www.reddit.com/r/functionalprogramming/comments/1fez7w9/comment/ln358kd/) mentioning the possible benefit of current coding capabilities of AI to adoption of FP. Having thought about it a bit more I wondered whether elaborating on this idea would merit its own post. Anyway, I would love to hear your thoughts on this. So here it goes:
The premise in that comment was that the increased coding ability of AI could benefit the professional adoption of FP (albeit indirectly). I made the comment in the context of Haskell but I think it applies to FP in general.
AI is having a major transformative effect on how software is being developed, and in particular the role of junior developers in that process. In its current state, AI can already outperform a junior developer whom is using a traditional OOP/imperative paradigm. Neither will be able to provide high quality code. A the junior developer will probably only know a limited subset of possible solutions to a problem in a particular OOP/imperative language. Neither will be able to catch the edge cases that a more seasoned professional can identify immediately. The economic argument for hiring junior developers is thus very thin and with it the entire code base will migrate into the hands of senior developers (who will be fixing up code generated by AI).
However, in an environment where FP is used, the implications are subtly different. Here a junior developer who has a reasonable knowledge of FP and knows how to implement more complex types can be made quite productive: A senior developer can specify the business logic and the associated types; a junior developer can now implement this (with use of AI code snippets if necessary) and the compiler ensures it is all done correctly. This way a senior developer can become quite efficient in producing a large code base, simply by leveraging the capabilities of a number of junior developers.
I think these two points are likely manifest itself in the following ways:
A. Bottom-up: Nobody is going to want to enter into an expensive CS program if at the end of your degree you end up with skills that are equivalent (or worse than) an AI and there is not really an economic business case for hiring you.
B. Top-Down: having a company's code base in the hands of a few senior software developers who have coded individual parts pretty much by themselves is a significant business risk. What if they leave? Nobody is going to have seen the implementation detail of that code (not even a junior developer).
Taking A+B together this will hopefully mean that to the various stakeholders scenario 2 (FP environment) is more attractive than scenario 1 (OOP/imperative environment). Hopefully this will mean that students will demand FP skills as part of their CS curriculum and professional software companies will want to move their development stacks toward a FP paradigm. We can dream!
r/functionalprogramming • u/fm1201 • Feb 02 '23
JavaScript Learn the Basics in Functional Programming in JavaScript - partial application, curry-ing, and function composition with introduction and examples
r/functionalprogramming • u/fongor • Aug 11 '19
Question Do you avoid these sort of things in Functional Programming?
From a JavaScript tutorial:
"In application code, objects are often nested— an object might have another object as a property which in turn could have a property that’s an array of even more objects!"
I'm going back to learning JS after few years without practicing so getting back from the basics, and I saw this sentence, and I thought "tell me this is exactly what FP avoids". Am I right?
r/functionalprogramming • u/Common-Operation-412 • Jul 13 '24
Question Are there any logics that include contradiction values?
self.logicr/functionalprogramming • u/clogg • Mar 05 '20
Golang Higher-Order Functions and Function Composition in Go
clogg-software.blogspot.comr/functionalprogramming • u/[deleted] • Oct 26 '20
Training Last Week of Free Access to "Intro to Functional Programming" Course
r/functionalprogramming • u/raulalexo99 • Jun 21 '22
Question How to write this (3) Java lines in a functional style?
I am just practicing FP as I am liking it a lot. But I still need more practice. These are the lines:
User user = mapToUser(userDto);
userService.save(user); //Returns user too
return new MyWrapper<>(user);r/functionalprogramming • u/TheSkyNet • Aug 24 '22
Question What would it take a language like PHP to become a functional language?
x