Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fyrn_
8 days ago
|
parent
|
context
|
favorite
| on:
Python developers are embracing type hints
You can use a Protocol type for that, makes a lot mote sense than nominal typing for typing use case.
vjerancrnjak
8 days ago
[–]
Exactly, sounds like misuse of unions.
Although Python type hints are not expressive enough.
reply
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: