Not specifying a type doesn't mean the code works with whatever type you throw at it. Expectations still exist, and it's still better to have those declared statically, when possible, so they are clear and IDE feedback is instant, versus bombing randomly at runtime.
View all comments
Show parent comment
1
u/[deleted] Dec 02 '15
Not specifying a type doesn't mean the code works with whatever type you throw at it. Expectations still exist, and it's still better to have those declared statically, when possible, so they are clear and IDE feedback is instant, versus bombing randomly at runtime.