News, tips and learning from the world of backend software development.
This guide breaks down list, dict, set, and generator comprehensions — with examples, performance tips, and when not to use them.
From managing dependencies to running scripts, uv is changing the way we handle Python projects. This guide breaks down how to use uv for lightning-fast, reliable Python development.
From yield to .send(), learn everything you need to know about Python generators — including generator expressions, memory tips, and use cases.
This practical guide explores how Python handles iteration under the hood. From built-in sequences to custom iterators and memory-efficient generators.
Learn how to confidently read, write, and modify CSV files in Python using the built-in csv module.
Learn how to use lambda functions in Python effectively, from syntax and higher-order functions to debugging tips and best practices.
Whether you’re wrangling a simple list or a complex set of objects, this guide will teach you how to sort data in Python like a pro.
Unlock the power of Python lists. Learn to create, index, slice, update, and manipulate lists for efficient coding.
Strings in Python are a fundamental data type. Learn how to define and work with them effectively in this ultimate beginner guide.
Abstraction simplifies complex code but it can backfire when used too soon. Learn what abstraction is, when to use it, and how to avoid the trap of premature abstraction.
Should your tests focus on how your system works or what it delivers? Testing isn't just about writing code to catch bugs.
Clean, elegant design or an over abstracted, confusing mess? DRY code can be all or none of these things. Like most topics, some nuance in the discussion is probably needed.