Hacker News new | ask | show | jobs
by mav3rick 2481 days ago
Regarding API inputs here is what my manager said that's stuck with me. Imagine your API entry points as the surface of the ocean, you've got to keep the garbage out. From then on all internal functions can make reasonable assumptions about the inputs they're getting.