PLAY PODCASTS
Platonismus und Python - Data Class Builders

Platonismus und Python - Data Class Builders

Platonismus und Python - Data Class Builders

Python Podcast · Jochen Wersdörfer / Dominik Geldmacher

June 30, 20251h 29m

Show Notes

<article class="post-detail"> <header> <h2 class="post-title"> <a href="https://python-podcast.de/show/platonismus-und-python-data-class-builders/">Platonismus und Python - Data Class Builders</a> (click here to comment) </h2> <!-- link is on one line to avoid underlined whitespace --> <div class="post-card-meta"> <a href="https://python-podcast.de/show/platonismus-und-python-data-class-builders/"><time datetime="2025-06-30T21:00:00+02:00">30. Juni 2025</time>,</a> <span class="author">Jochen</span> </div> </header> <div class="post-body"> <section class="block-overview"> <section class="block-paragraph"> <p data-block-key="f9y2n">Willkommen zu Episode 66! Heute geht's um Data Class Builders (nächstes Kapitel aus "<a href="https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/">Fluent Python</a>"), aber wie immer schweift das Gespräch auch mal ab - von der Frage, ob Mathematik entdeckt oder erfunden wird, bis zu gefährlichen Default-Argumenten. 🤓</p><p data-block-key="fp4h3"><a href="https://mastodon.world/@shezi">Johannes</a>, <a href="https://mastodon.social/@oryon_dominik">Dominik</a> und <a href="https://fedi.wersdoerfer.de/@jochen">Jochen</a> diskutieren, warum Martin Fowler Data Classes für einen code smell hält (spoiler: sie sind anderer Meinung), warum <code>if not foo</code> manchmal besser ist als <code>if foo is None</code>, und warum Pattern Matching das coolste Feature ist, das niemand benutzt.</p><p data-block-key="eg0li">Zwischendurch gibt's Stories vom <a href="https://podcamp.de/">Podcast-Barcamp</a> in der Düsseldorfer Zentralbibliothek, und am Ende picken die drei ihre aktuellen Lieblings-Tools - von agent based Gedöns bis Docker-Hacks.</p><p data-block-key="av24r">PS: Das Hörertreffen kommt! Irgendwann zwischen August und September, versprochen. 📅</p> </section> <section class="block-audio"> </section> </section> <section class="block-detail"> <section class="block-paragraph"> <h2 data-block-key="uzph5">Shownotes</h2><p data-block-key="3m7uf">Unsere E-Mail für Fragen, Anregungen &amp; Kommentare: <a href="mailto:[email protected]">[email protected]</a></p><h3 data-block-key="do2uf">News</h3><ul><li data-block-key="fd8kk"><a href="https://podcamp.de/">Podcamp 2025</a> in Düsseldorf</li><li data-block-key="86rm6"><a href="https://workingdraft.de/">Working Draft</a> - <i>der</i> Frontend-Podcast</li><li data-block-key="5hout"><a href="https://wowirsindistvorne.show/">WWSIV</a> - ja, wir planen 😀</li><li data-block-key="c2fla"><a href="https://youtu.be/pqBqdNIPrbo?si=7S75ZOJzcJscE6ox">Python: The Documentary [OFFICIAL TRAILER]</a></li><li data-block-key="6te18"><a href="https://www.duesseldorf.de/stadtbuechereien/standorte/zentralbibliothek">Zentralbibliothek Düsseldorf</a></li><li data-block-key="60smf"><a href="https://unfuckit.ai">Vibe-code it today, UnFuckIt.AI tomorrow</a></li><li data-block-key="cb9va"><a href="https://www.media.mit.edu/publications/your-brain-on-chatgpt/">Your Brain on ChatGPT: Accumulation of Cognitive Debt when Using an AI Assistant for Essay Writing Task</a></li><li data-block-key="e35qa"><a href="https://kagi.com/">Kagi Search</a> is a fast, user-centric and private web search engine</li><li data-block-key="5kpgi"><b>Kleiner Matheexkurs</b><ul><li data-block-key="64inq"><a href="https://lexfridman.com/terence-tao">#472 – Terence Tao: Hardest Problems in Mathematics, Physics &amp; the Future of AI</a></li><li data-block-key="7ituu"><a href="https://lean-lang.org/">Lean - Programming Language and Theorem Prover</a></li><li data-block-key="65nvn"><a href="https://teorth.github.io/equational_theories/">Equational Theories Project</a> - wo dann irgendwann das Paper mit den 50 Koautoren rausfallen wird</li><li data-block-key="f74e8"><a href="https://isotropic.org/papers/chicken.pdf">Chicken Chicken Chicken: Chicken Chicken</a> - <a href="https://www.youtube.com/watch?v=yL_-1d9OSdk">Videoversion</a></li></ul></li><li data-block-key="984tb"><a href="https://techcrunch.com/2025/06/20/mira-muratis-thinking-machines-lab-closes-on-2b-at-10b-valuation/">Mira Murati’s Thinking Machines Lab closes on $2B at $10B valuation</a></li><li data-block-key="3bhak"><a href="https://a16z.com/podcast/mcp-co-creator-on-the-next-wave-of-llm-innovation/">MCP Co-Creator on the Next Wave of LLM Innovation David Soria Parra and Yoko Li</a></li></ul><h3 data-block-key="4fk6n">Data Class Builders</h3><ul><li data-block-key="bcsrt"><a href="https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/">Fluent Python</a> - Kapitel 5</li><li data-block-key="i1o0"><a href="https://typing.python.org/en/latest/spec/namedtuples.html">Named Tuples</a></li><li data-block-key="9qau6"><a href="https://docs.python.org/3/library/dataclasses.html">Data Classes</a></li><li data-block-key="883bi">Zitat von Linus: <i>"Bad programmers worry about the code. Good programmers worry about data structures and their relationships."</i></li><li data-block-key="ce5bn"><a href="https://www.cosmicpython.com/book/chapter_01_domain_model.html#_value_objects_and_entities">Value Objects and Entities</a></li><li data-block-key="pbqo"><a href="https://docs.pydantic.dev/latest/">pydantic</a></li><li data-block-key="fjq81"><a href="https://www.attrs.org/en/stable/">attrs</a></li><li data-block-key="bhsrl"><a href="https://github.com/jcrist/msgspec">msgspec is a fast serialization and validation library</a></li><li data-block-key="5tg2h"><a href="https://hynek.me/talks/design-pressure/">Design Pressure</a> | Hyneks PyConUS 2025 Vortrag inklusive einem Haufen Quellen</li><li data-block-key="2ebo6"><a href="https://typing.python.org/en/latest/spec/typeddict.html#typeddict">TypedDict</a></li><li data-block-key="7nreu"><a href="https://lukeplant.me.uk/blog/posts/test-factory-functions-in-django/#the-auto-sentinel">The Auto sentinel</a> | Will man vielleicht verwenden statt foo: str|None = None</li></ul><h3 data-block-key="50dri">Picks</h3><ul><li data-block-key="c2nop"><a href="https://docs.anthropic.com/en/docs/claude-code/overview">Claude Code</a> | Benutzt Jochen in letzter Zeit echt häufig und ist relativ begeistert</li><li data-block-key="dknou"><a href="https://n8n.io/">n8n - Flexible AI workflow automation for technical teams</a> | Dominks Pick: nocode tool, das ausnahmsweise mal gut ist</li><li data-block-key="6ivju"><a href="https://github.com/psviderski/unregistry">Unregistry is a lightweight container image registry that stores and serves images directly from your Docker daemon's storage</a> | Johannes Pick</li></ul> </section> </section> </div> </article>

Topics

pythondataclassesattrspydanticnamedtuplemsgspecprogrammingtype hintspattern matchingfluent python