Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
barrkel
12y ago
0 comments
Save
Share
Ruby, Python, even PHP checks the types of values before executing operations on the values.
0 comments
2 comments · 2 top-level
top
newest
oldest
keypusher
12y 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.
rbanffy
12y ago
Exactly.
They
check the types. They don't burden the programmer with such tasks.
j
/
k
navigate · click thread line to collapse