News for hackers. Stuff that matters.
Re:My Biggest Regret as a Programmer by naasking on Thursday April 07, 2016 @09:58AM (#11447266)
> 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.

There are no comments on this comment yet.