Y
Hacker News
new
|
ask
|
show
|
jobs
by
davnn
241 days ago
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