3 ms·
Well, I remember times when my program crashed because I tried to add a dictionary and an integer - so, yeah, they do help.
by dunefox 8y ago
Well, I remember times when my program crashed because I tried to add a dictionary and an integer - so, yeah, they do help.
- dictum 8y agoThe problem lies on enough: the overhead of static typing has to be lower, in the lifespan of a project, to the time spent fixing bugs like this one. (Other things, like liability from bugs and crashes, may give an edge to static typing. The age-old debate is how much)
- mannykannot 8y agoIf you know what sorts of data your variables denote and your functions take and return, being explicit about it is not much of a burden for the benefits it brings.