Tags
Note
This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts
Here's my thought on 💭 awesome-cursorrules/rules/py-fast-api/.cursorrules at main · PatrickJS/awesome-cursorrules
Looks like a great start to a rules file for fastapi.
- Place the happy path last in the function for improved readability.
I have never heard anyone say this. It feels weird to me. The other early return, find and handle errors early all make sense to me, but happy path last is new to me.
This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts