Y
Hacker News
new
|
ask
|
show
|
jobs
by
_random_
4569 days ago
And some languages don't check types for you before running the code and it's almost 2014 now, can you imagine?
1 comments
barrkel
4569 days ago
Ruby, Python, even PHP checks the types of values before executing operations on the values.
link
keypusher
4568 days ago
That's not true, at least with Python. It uses duck typing, there is no type check before execution. It just runs the code you give it, if you try to call a method that doesn't exist (split on a integer), it will just give an error.
link
rbanffy
4568 days ago
Exactly.
They
check the types. They don't burden the programmer with such tasks.
link