Hacker News new | ask | show | jobs
by metafunctor 2107 days ago
Usually that would go to the documentation of the parameter, plus a run-time assertion to check that received values are valid.
1 comments

But the best documentation is the code itself that is documentation. I mean, well that’s kind of a cliché, but names can carry a lot of meaning.