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

>> returning a null array to represent no items

> To be honest, that's what I'd expect. What do you dislike about that result, and what would you prefer to see returned? Jump straight to 404?

I'd expect an empty array to represent no items. It's the difference between "" and "[]".




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

Search: