2 ms·
> I'm with you except for wanting type errors. Duck typing for methods and such is fine if that's what you're into, but if you're checking for equality, you wa
by naasking 11y ago
> I'm with you except for wanting type errors.
Duck typing for methods and such is fine if that's what you're into, but if you're checking for equality, you want type errors, period. Only like equals like. Doesn't matter if your language is statically typed or dynamically typed, equality means something very specific and it's very surprising when those expectations are violated.