Y
Hacker News
new
|
ask
|
show
|
jobs
by
crdoconnor
2914 days ago
Doctest exhibits this idea but it only really works for small, self contained utility functions - e.g. slugify a string, round a number to 3 decimal places, etc.