-
In modern application development, Object-Relational Mappers (ORMs) have been used for working with relational databases to increase the development speed. They offer powerful abstractions that map database tables to in-memory objects, making it “easier” to perform data operations without writing raw SQL. However, ORMs come with trade-offs. When misunderstood or overused (or just used), they […]
-
In this tutorial, we’ll walk through how to apply Test-Driven Development (TDD) to an asynchronous service to fetch customers from a database using Python’s pytest and pytest-asyncio. Along the way, you’ll use: This is ideal if you’re: Intro Test-Driven Development (TDD) TDD is a development approach where you write tests before writing the actual implementation. […]
-
So you’ve decided to “go async.” Maybe you were promised better performance. Maybe someone told you it would help with scale. Or maybe—just maybe—you were just tired of watching your app freeze while waiting for an API call. Either way, welcome to the async club. We meet weekly. We cry occasionally. We post passive-aggressive tweets […]
-
Let’s be honest: as developers, we’ve all written bad code at some point. Whether it’s due to deadlines, unclear requirements, or just oversight, code quality often suffers. Eventually, we’ll face the inevitable—going back to refactor or remove that bad code, which is especially true in startups where speed is preferred. (Deep breath—it’s normal.) This article […]