Hacker News new | ask | show | jobs
by avbor 2954 days ago
Instagram actually has a program for stubbing existing code called MonkeyType. It requires running your code to collect the data, and then after your run finishes you can then apply the new inferred types to your program.
1 comments

so like can i throw my entire django app at this thing and have it spit out types for me? probably not right?
That's actually correct - it will spit out types it can infer. https://github.com/Instagram/MonkeyType
(Oh daaaamn that's cool!)