4: Functional Programming - You're probably already doing it episode artwork

EPISODE · Jun 14, 2025 · 28 MIN

4: Functional Programming - You're probably already doing it

from Runtime Arguments · host Jim McQuillan & Wolf

People throw around the term Functional Programming but it's not always clear what they mean. In this episode, Wolf explains what goes into FP, and together we build a clearer picture that reveals you might already be doing it.Show notes and things to think about:Functional programing isn't academic.  It isn't overwhelming.  It isn't impossible to use.  It isn't inapplicable to ordinary problems like the ones you're solving right now.You can use functional techniques in almost any modern programming language.  In fact, you probably already are.Main pillars of FP:Pure functions (no side-effects)Functions are first-class objects (you can pass them as arguments, you can return them as results, you can store them in lists or any other data-structure)Data is immutable by defaultFP languages often provide powerful pattern matching syntax (didn't mention this much in the episode other than briefly noting Python's new match statement)A couple of things not mentioned: in FP, your code is more about what you want, not about how to get it.  That stack of functions for the sales data example looks declarative, not imperative.A couple of other things not mentioned: recursion and lazy evaluation.  Not exclusive to FP, but very often available in functional languages.Papers and explanations about monads might be unreadable, but you're already using them and you already know how they work.Using FP techniques appropriately can make your code easier to test, harder to break, and possibly even prettier to look at.There are places in your code right now that you can make better right now with FP.  Do it!Links:We mentioned a ton of languages.  Most of them have easy to find home pages so I'm not going to list out all the links; but there are a couple of obscure onesThere's nothing for the original Lisp, the closest these days is probably https://common-lisp.net.ML can be found at https://sml-family.org but the more modern and popular variant, OCaml, can be found at http://ocaml.org.  Microsoft's take on this is F#, open-sourced at https://fsharp.org.Hosts:Jim McQuillan can be reached at [email protected] can be reached at [email protected] us on Mastodon: @[email protected] you have feedback for us, please send it to [email protected] music:Dawn by nuer self, from the album Digital Sky

Episode metadata supplied by the publisher feed · Published Jun 14, 2025

Embed this episode

People throw around the term Functional Programming but it's not always clear what they mean. In this episode, Wolf explains what goes into FP, and together we build a clearer picture that reveals you might already be doing it. Show notes and things to think about: Functional programing isn't academic. It isn't overwhelming. It isn't impossible to use. It isn't inapplicable to ordinary problems like the ones you're solving right now.You can use functional techniques in almos...

Distinct summary based on available episode metadata or transcript content.

NOW PLAYING

4: Functional Programming - You're probably already doing it

0:00 28:57

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Runtime Arguments?

This episode is 28 minutes long.

When was this Runtime Arguments episode published?

This episode was published on June 14, 2025.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Runtime Arguments episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!