RSSAmplifier

Bas Nijholt · Apr 14, 2025

Functions over classes? Why I prefer a simpler, functional style in Python 🐍

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Over years of building software, from scientific simulation tools like Adaptive and pipefunc to package management packages like unidep , I’ve found myself preferring a certain coding style: using small, focused functions more than large classes with complex internal state and deep inheritance hierarchies. This isn’t about dogma, but about a pragmatic approach that, in my experience,…

Read on /post/functional-python/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.