3 ms·
Show HN: Non functional requirements should be part of function interfaces
- yizhang7210 5y agoIt always puzzles me why function signatures only include their input/output types but doesn't say anything about how long it's supposed to run. So I wrote a python library that makes functional latency a first class citizen to be specified (almost) as part of the function signature. `pip install python-liang` to see it in action.