Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SatvikBeri
on Nov 15, 2017
|
parent
|
context
|
favorite
| on:
Numpy: Plan for dropping Python 2.7 support
Optional type annotations did it for me - I don't usually use them, but I find them
very
helpful on a few types of tasks.
Figs
on Nov 15, 2017
[–]
Could you please elaborate on this?
leshow
on Nov 16, 2017
|
parent
[–]
You can write type annotations in 3. The benefits there are the same that come with most optional typing.
https://docs.python.org/3/library/typing.html
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: