Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dasm
· 7y ago · 0 comments
I have very strong opinions on docstrings; they are simple to implement and completely solve this issue.
Comments
[–]
macintux
7y ago
I wouldn’t say “completely”, because they’re not guaranteed to be accurate, even when first created, much less down the road.
[–]
yyyymmddhhmmss
7y ago
Listing arguments and their types in docstrings always feels likea bad idea for this reason.