Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xapata
on Jan 4, 2021
|
parent
|
context
|
favorite
| on:
On Repl-Driven Programming
Yep, just copy-paste a bit of REPL history for a docstring, then use `doctest` to make sure it holds. Pretty soon you'll have ~100% test coverage. Minus the error paths you didn't test in REPL.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: