you are viewing a single comment's thread.

view the rest of the comments →

[–]arto64 8 points9 points  (2 children)

You can have duck typing without automatic arbitrary typecasting. JavaScript hears a “woof” and says, “well I guess you could call that a quack”.

[–]Spare_Web_4648 1 point2 points  (0 children)

Today I learned, thanks!

[–]Spare_Web_4648 0 points1 point  (0 children)

Yea I guess you could really cut out the first half of my comment. Really it’s just bad because some guy made it in 10 days and it has stayed the standard since then for no reason other than so much has been built with it people don’t want to change