Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
OskarS
on Nov 16, 2017
|
parent
|
context
|
favorite
| on:
Numpy: Plan for dropping Python 2.7 support
This particular language quirk I don't think has anything to do with dynamic typing: it's equally annoying in C-style languages where 3/2 and 3/2.0 mean different things.
dagw
on Nov 16, 2017
[–]
sure, but in C if you have a line that looks like
z = 3/y
you'll know that y is either always a float or always an int depending on its type and thus you'll 'know' what z is.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: