Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Guthur
on June 21, 2018
|
parent
|
context
|
favorite
| on:
The state of type hints in Python
And so you know f(a b c) accepts floats, but what good is that if you don't actually know what a b c are. Which is the reason I hate the term type safe. It's type checked but the behavior may or may not be safe.
Melchizedek
on June 21, 2018
[–]
If you want the type to be more specific than float, you can create a more specific type.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: