Aug 24, 2017 · 1 min read
You might be right about your point in this particular case, about knowing what the type for ID is or it being well documented. However, you missed the point that this was just an example of what static typing fixes that dynamic typing gets wrong, and that is that most of the time you miss the point of knowing which data type you’re using and you get screwed during run time. Fail!