r/functionalprogramming • u/kinow • Aug 24 '18
r/functionalprogramming • u/kinow • Oct 25 '26
FP How close can pure FP get to C?
rtfeldman.comr/functionalprogramming • u/yevelnad • Sep 05 '25
Question Hi guys I want to learn FP, but I don't really know where to start.
Are there any free resources online whice I could read. I tried Rust but my OOP background is hindering me from learning it completely and I started with PHP which made it worse. Seems like learning it should have a decent FP background as well. There are some technical terms I don't quite understand because some of them involves FP. And FP seems to have really interesting technicalities and concepts. And I really want to learn. Not just learn but understand. I am relatively slow learner. I don't do it professionally but more on the hobby of learning. Hope you could share some resources. Just the basics. I don't really have much to do so I decided in learning FP. 🙏
r/functionalprogramming • u/typicalyume • Jul 31 '24
Question Starting My Journey into Functional Programming as a Golang Backend Developer
TL;DR:
Self-taught Golang developer seeking advice on starting with functional programming and tools
Prefers strict typing, minimalism, and keep it stupid simple concept.
Interested in Scala and OCaml, concerned about resource availability and open to suggestions
Questions about learning resources, alignment with preferences and tooling
Hi everyone,
I'm a self-taught developer working primarily as a freelancer. My background is mainly in Golang, with some experience in C and occasionally Python. I've been considering going into functional programming and would love advice on where to start and what tools to use.
Background:
Languages: Golang, C, Python
Preferences: Strict typing (coming from low-level languages like C and, to some extent, Golang), minimalism, clean code, and the KISS principle.
Dislikes: heavy frameworks, ORMs, and the hassle of managing dependencies and versions (I don't want breaking changes every morning or 5minutes of npm install)
Use Cases: APIs, microservices
I'm drawn to functional programming because it aligns well with my preference for immutability and minimalism. FP has always attracted me. I tried to write some Common LISP a few years ago, and I liked how it taught me some ways to solve problems. I also recently looked at some parser code in F# and a partition problem solved in Haskell, and I found the code super nice and clean to read. It was mindblowing, and I'd like to learn how to write such things using FP.
I'm used to thinking about types, and I find it frustrating when languages like Python don't enforce type hints. This leads to me reversing libraries' code to know what is returned or getting keyError because it returns a dict with nobody knowing what is inside. This lack of type enforcement often leads to unexpected errors and makes code harder to understand, which is why I prefer languages with strict typing.
By the way, I'm open to the idea that types might not matter as much in functional programming.
Interest in Scala:
I've also been considering Scala, partly because Lichess is written in it, and I'm impressed by its performance and scalability. Lichess handles a massive load without noticeable lag, even during bullet/blitz games.
Interest in Ocaml:
After reading various discussions on this subreddit, I've also been interested in OCaml. However, I've been worried that it might be too niche and not as popular, potentially limiting the resources available, especially when working with cloud services like AWS or GCP. If I use OCaml for my projects in these environments, will I lack resources or support?
Questions:
What are some excellent resources for someone with my background to learn functional programming? I've found a lot of potential answers here on Reddit, but now there are so many things and opposite advice that I don't know what would suit me well.
Are any functional programming languages or tools that align well with my strict preference for typing and minimalism?
How does the deployment process compare to Golang's super fast compilation into a single binary?
I really appreciate any help you can provide.
r/functionalprogramming • u/Voxelman • Jul 30 '24
Intro to FP Learn physics with functional programming
Can someone recommend the book "Learn Physics with functional programming" from Scott N. Walck?
It sounds interesting because it is practical oriented.
r/functionalprogramming • u/lpil • May 27 '24
Gleam Gleam v1.2 released with LSP improvements
r/functionalprogramming • u/DeepDay6 • Dec 30 '23
Question Book recommendations for software design/architecture?
I have a feeling it's easy to find good "low-level" books on FP, but what about the "big picture"?
Book on system design and architecture seem to focus on OOP exclusively, mostly using Java. We need to apply higher levels of design too, so what are the good books?
r/functionalprogramming • u/freefallfreddy • Dec 24 '23
FP Tired of seeing FP discussed as a single topic
(it's a bit of rant, I'd love to hear thoughts)
The older I get (42 now) the more I see the value of nuance in talking about all kinds of stuff, including programming.
One of the things that irks me is developers talking about FP as a single topic or a single concept. I see this in people that like and use "FP", but also in people that don't.
My take is the following: functional programming is not a single concept. It's a collection of programming practices and perspectives. If you ask 10 people "what do functional programmers do and don't do"? you'll get 10 answers that will have overlap but will also differ.
One of the problems with treating FP as if it were a single concept is the miscommunication. If I think immutability is essential to "FP" and another person has another view then talking about FP as a whole gets messy. It's a lot clearer to be more specific and talk about immutability.
What I also see people doing is "strawmanning" FP and saying you have to do "it" completely for it to be valuable. I've seen this quite a bit in FP vs OOP discussions. In my opinion it's way more useful to compare and contrast both the different parts of these programming styles and to discuss the spectrum of applying those parts. For example: you can write Java code in a classical OOP way and then write part of the code in a more pure style where you don't create stateful objects or not let stateful objects interact with one another.
r/functionalprogramming • u/effinsky • Nov 15 '23
Question Is Elixir becoming the most commercially popular FP language out there?
Why I am asking is I think I've seen it be the only FP language that's actually "trending" upwards in the recent years. Scala and Haskell I thiiiink are both going down in popularity, but Elixir seems to be having quite a bit of momentum, being popular both with Erlang folks and the Ruby crowd.
EDIT: by the way, Gleam does look real good. Maybe this is what FP needs -- is a friendly, practical language that's easy to pick up.
r/functionalprogramming • u/lordvolo • Apr 04 '23
Clojure Mindset shifts for Functional Programming (with Clojure)
r/functionalprogramming • u/ctenbrinke • Nov 14 '22
Question What functional programming language is currently considered most suitable for high performance data processing?
My usecase involves parsing and processing very large streams of binary data and distilling a smaller aggregated summary out of this. At my workplace C is often used for this, but I wonder if there are FP languages that would be a good fit for this. Especially because pure FP should in theory make it easier to parallellize.
r/functionalprogramming • u/kinow • Aug 29 '22
FP Ferret: A functional, lazy language for realtime embedded control systems
ferret-lang.orgr/functionalprogramming • u/RobertPeszek • Jun 01 '22
TypeScript Type Enthusiast's Notes about TypeScript Series
Sometime last November I stared working on Type Enthusiast's Notes about TypeScript and this series of post is now complete.
This series is really a mini book about Types and TS that goes to some interesting places. TS supports advanced type features like existential, higher rank types (it does!), phantom types, quite a bit of type level programming allowing things like DIY safety preventing subtyping...
Unintentionally, the first 3 parts of the series could have been given the title: "Dangers of OO with examples in TS". TS comes with lots of "interesting" gotchas many caused by subtyping.
The focus of the series is types, not so much Functional Programming, however concepts like referential transparency are being discussed (Part 2 and Part 6).
I wrote it for developers interested in types and either using or considering using TS. I hope some r/functionalprogramming redditers will find the series interesting.
Thank you for taking a look!
r/functionalprogramming • u/jerryzxliu • Mar 22 '22
Kotlin Is functional programming a good paradigm to use for Kotlin development? Check out this guide I wrote for direct coding comparisons between functional programming and imperative programming using DoorDash engineering examples
When DoorDash moved from a monolith to microservices my team was looking for ways of making our code cleaner and more reliable. One of the easiest low-hanging fruits was to use functional programming instead of imperative programming when using Kotlin for writing backend services. I thought I would share some of these experiences with the developer community and wrote this guide "How to leverage functional programming in Kotlin to write better, cleaner code" that explains: The differences between FP and imperative programming and how to code different use-cases in Koltin with FP vs Imperative.
Let me know what you think. Is Kotlin a good language for functional programming? Should we adopt functional programming more?
r/functionalprogramming • u/oskargreda • Mar 01 '22
Jobs MLabs is Hiring Haskell, Nix and Rust Developers! (100% Remote, Worldwide)
MLabs is Hiring Haskell, Nix and Rust Developers! (100% Remote, Worldwide)
We are one of the leading Haskell/Rust consultancies in the fintech, blockchain and AI space, with a passion for Haskell and open source software. We are looking for a 100% remote developers to join our team.
If you are excited about Haskell, Rust or Nix, about robust and clean software and are up for a new challenge, you’ve come to the right place!
We have both developer roles from Junior to Senior, as well as roles in Delivery Management.
Requirements
Strong skills in the language you want to work
Strong software engineering and architecture skills
Strong problem solving and analytical skills
Basic knowledge of security, concurrency, backend systems, system scaling and databases
Version control (git)
Strong verbal skills in English
Experience with blockchain, smart contracts, compilers, nix and/or purescript is a bonus
Benefits
Focus on learning and individual growth in Haskell and Computer Science
Work with other great Haskellers, open source contributors and computer scientists
Interesting and challenging projects
Talk with anyone in the organization, regardless of team
Remote work
Flexible working hours
6 weeks of paid vacation
Competitive salary
We have a variety of projects to work on at any time, ranging from payment stacks to smart contracts and blockchain to open source libraries, DSLs and compilers.
Check out the website: https://mlabs.city/
If you like challenging projects, MLabs is the place for you, so please apply now via: https://apply.workable.com/mlabs/
r/functionalprogramming • u/drizzer14 • Dec 29 '21
TypeScript Auto-Currying In TypeScript
v10i.devr/functionalprogramming • u/Gigi14 • Dec 21 '21
Jobs Looking for Senior Engineers and Team Leads!
Hello fellow Functional Programmers!
We're a team of functional programmers (all of us either know Elm or Haskell) working to help clients navigate the complexities of the American healthcare system. Our products and services have already changed peoples' lives for the better.
We're funded (in fact we just closed another round), globally distributed (5 different time zones) and have a fast-growing base of paying customers.
All of our code is written in TypeScript for the time being in a functional style. We've stolen a lot from Elm, so if you enjoy Elm, you'll enjoy working in our codebase.
We're looking for folks who have worked at fast-growing startups and have been in technical leadership roles.
Please dm me here on Reddit for more info.
r/functionalprogramming • u/serhii_2019 • Sep 27 '21
Question Could you recommend FP blogs?
Hi, I'm new to functional programming. Learning Haskell now. Could you please recommend FP blogs? Mostly related to functional programming theory: monads, functors, monoids etc and/or haskell/scala focused. If this topic is a dublicate, please give me a link. Thank you in advance
r/functionalprogramming • u/mihaela_workshub • Apr 23 '21
Haskell Catamorphisms aka folds explained
r/functionalprogramming • u/kinow • Feb 14 '21
Intro to FP cube composer, a game to learn FP visually
david-peter.der/functionalprogramming • u/[deleted] • Aug 02 '20
Question Which programming language to learn? 14y/o
Hey I am a 14y/o with a lot of free time because of six weeks of holidays. So I decided to learn programming but i dont know which language to start with.
r/functionalprogramming • u/oyanglulu • Jan 12 '20
PureScript Type-Driven Development with PureScript
blog.oyanglul.usr/functionalprogramming • u/kvalle • Dec 10 '19