Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do this in Common Lisp. It also makes sense as a technique for documentation: why leave examples rusting in comments when you can incorporate them into the program?

Add a Quickcheck-ish type-based test case generator and you start to blur the line between tests and types.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: