<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Best Practices on Indented Block</title><link>https://indentedblock.com/tags/best-practices/</link><description>Recent content in Best Practices on Indented Block</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 27 Aug 2026 12:56:49 -0400</lastBuildDate><atom:link href="https://indentedblock.com/tags/best-practices/index.xml" rel="self" type="application/rss+xml"/><item><title>Mutable Default Arguments: Python's Favorite Gotcha</title><link>https://indentedblock.com/posts/mutable-default-arguments/</link><pubDate>Thu, 27 Aug 2026 12:56:49 -0400</pubDate><guid>https://indentedblock.com/posts/mutable-default-arguments/</guid><description>Why a default argument like def f(items=[]) gets shared across every call that doesn&amp;#39;t pass one, and the idioms that keep you out of trouble.</description></item><item><title>Python Logging Done Right</title><link>https://indentedblock.com/posts/python-logging/</link><pubDate>Tue, 25 Aug 2026 11:35:25 -0400</pubDate><guid>https://indentedblock.com/posts/python-logging/</guid><description>A practical guide to the logging module: loggers, handlers, formatters, and levels, plus real patterns for structured logs, configuration, and avoiding the mistakes that make logs useless.</description></item><item><title>Python Type Hints in Practice</title><link>https://indentedblock.com/posts/python-type-hints/</link><pubDate>Mon, 27 Jul 2026 10:17:41 -0400</pubDate><guid>https://indentedblock.com/posts/python-type-hints/</guid><description>A practical guide to using type hints in real Python code: the typing module essentials, generics, Protocol, Optional vs union types, TypedDict, overloads, and how to actually enforce hints with mypy.</description></item><item><title>The Most Underrated Packages in the Python Standard Library</title><link>https://indentedblock.com/posts/underrated-stdlib-packages/</link><pubDate>Fri, 24 Jul 2026 11:13:14 -0400</pubDate><guid>https://indentedblock.com/posts/underrated-stdlib-packages/</guid><description>A tour of stdlib modules that quietly solve real problems - bisect, functools.singledispatch, contextlib.ExitStack, graphlib, itertools, and more - with production-ready patterns for each.</description></item></channel></rss>