TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

1 pointsby yizhang7210over 3 years ago

1 comment

yizhang7210over 3 years ago
It always puzzles me why function signatures only include their input&#x2F;output types but doesn&#x27;t say anything about how long it&#x27;s supposed to run.<p>So I wrote a python library that makes functional latency a first class citizen to be specified (almost) as part of the function signature.<p>`pip install python-liang` to see it in action.