Functional Python: Saving Christmas with itertools & friends (sps25) episode artwork

EPISODE · Oct 16, 2025 · 30 MIN

Functional Python: Saving Christmas with itertools & friends (sps25)

from Chaos Computer Club - recent events feed (high quality) · host Edoardo Baldi

Are you writing nested loops when solving coding challenges? Discover how Python's functional programming toolbox can transform your problem-solving approach. We'll explore functional programming principles through the lens of Advent of Code puzzles, learning to think in streams of data rather than step-by-step instructions. We’ll explore some essential bits from `itertools`, `functools`, and `operator` modules, aiming to write more expressive, debuggable code. Starting with pure functions and lazy evaluation, we'll build up to solving real AoC problems using techniques like: `itertools.pairwise()` for sequence comparisons, `functools.reduce()` for data aggregation, `operator.itemgetter()` for elegant sorting, Generator expressions for memory-efficient processing. Through some puzzles from various years, we’ll see how functional approaches often lead to more concise solutions that closely mirror the problem description. We'll compare imperative vs functional solutions, highlighting pros and cons of both approaches. Whether you're preparing for coding interviews, tackling AoC, or just want to expand your Python toolkit, you'll leave with a couple more ideas for writing cleaner, more Pythonic code - no external dependencies required. about this event: https://talks.python-summit.ch/sps25/talk/PA7988/

Episode metadata supplied by the publisher feed · Published Oct 16, 2025

Embed this episode

NOW PLAYING

Functional Python: Saving Christmas with itertools & friends (sps25)

0:00 30:40

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 Chaos Computer Club - recent events feed (high quality)?

This episode is 30 minutes long.

When was this Chaos Computer Club - recent events feed (high quality) episode published?

This episode was published on October 16, 2025.

Can I download this Chaos Computer Club - recent events feed (high quality) episode?

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