Hacker News new | past | comments | ask | show | jobs | submit login

I'm not saying it's easy, but start by assuming that there's a limit and that any request can throw errors? (Proceed accordingly .)



All requests expect errors. How a developer handles them... well...

And for limit checking, how often do you write array limit handlers? And if the BE contract doesn't specify? Additionally, it will need as a regression unit test, because who knows when the next developer will remove that limit check.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: