Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
metafunctor
· 6y ago · 0 comments
Usually that would go to the documentation of the parameter, plus a run-time assertion to check that received values are valid.
Comments
[–]
jb1991
6y ago
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.