Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kennywinker
75 days ago
|
parent
|
context
|
favorite
| on:
`satisfies` is my favorite TypeScript keyword (202...
Yeah, that’s probably the best possible implementation outside of the type system. The issue with docstrings is that they aren’t checked. So you’ve communicated the api to the coder, and maybe even to the ide, but not to the compiler.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: