Settings

Theme

Show HN: Non functional requirements should be part of function interfaces

github.com

1 points by yizhang7210 4 years ago · 1 comment

Reader

yizhang7210OP 4 years ago

It 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection