2 ms·
Having clear API allows to have a clear boundary between trusted and untrusted environment in backend. If you don't check your arguments in REST endpoint, it's
by vbezhenar 7y ago
Having clear API allows to have a clear boundary between trusted and untrusted environment in backend. If you don't check your arguments in REST endpoint, it's obvious bug and easy to spot. If it's just another method, well, you're not treating input in every function as a hostile.
- mvila 7y agoPlease see my answer here: https://news.ycombinator.com/item?id=21660785 https://news.ycombinator.com/item?id=21660785