Hacker News
new
top
best
ask
show
job
Go's best-kept secret: executable examples
(
bitfieldconsulting.com
)
2 points
by
gus_leonel
10 months ago
1 comment
mohi-kalantari
10 months ago
Seems pretty cool! The only caveat is that it works pretty well with purer functions that have outputs which can be formatted. Writing these docs for more complex tests returning abstract types not in the built-in library can be overwhelming.