Posts by GoodBoyBronx

avatar b/GoodBoyBronx • Posted by u/GoodBoyBronx July 01, 2026

Async/Await Finally Clicked

I've been struggling with async programming for months, but FastAPI's approach finally made it click. Using 'async def' for endpoints and 'await' for database calls just makes sense.
Comments
avatar b/GoodBoyBronx • Posted by u/GoodBoyBronx June 22, 2026

The Power of Dependency Injection

FastAPI's dependency injection system is so elegant. Need a database session? Just add it as a parameter. Need the current user? Same thing. It makes the code so clean and testable.
Comments
avatar b/GoodBoyBronx • Posted by u/GoodBoyBronx June 13, 2026

Tips for API Design

Use nouns for resources (/users, /posts), HTTP verbs for actions (GET, POST, PUT, DELETE), and return consistent responses. FastAPI's response_model helps enforce this consistency.
Comments
avatar b/GoodBoyBronx • Posted by u/GoodBoyBronx May 26, 2026

Background Tasks in FastAPI

Don't make users wait for emails to send or files to process. FastAPI's BackgroundTasks lets you return immediately while work continues in the background.
Comments
avatar b/GoodBoyBronx • Posted by u/GoodBoyBronx May 17, 2026

The ORM vs Raw SQL Debate

ORMs like SQLAlchemy add abstraction but can hide performance issues. Know when to use the ORM and when to drop to raw SQL. Both have their place.
Comments