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

I am using runtime type and shape checking and wrote a tiny library to merge both into a single typecheck decorator [1]. It‘s not perfect, but I haven‘t found a better approach yet.

[1] https://github.com/davnn/safecheck



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

Search: