How do you plan your backend logic before writing code?
When I have an endpoint with more than 10 business logic steps, my brain can't keep track of it all at once. So I end up drawing it out on paper: what functions exist, what each accepts, what it returns, how they're related. Is it just me? How do you deal with this? Is there a tool that really helps with this, or is paper/Notion still the best option?