The advantages of static typing, simply stated
&gt; Is it safe to call f(x)?<p>The author asserts that static typing allows the compiler to answer this question, but this only allows the compiler to spot type errors in advance. There are many other kinds of errors that are completely invisible to the compiler.<p>In a dynamically typed language, if I don&#x27;t spot the error from reading the code, I must wait until runtime&#x2F;testing to discover the error. This is also true for a statically typed language for every kind of error except type errors. Personally, type errors haven&#x27;t been the kind of errors that haunt my dreams. I guess that&#x27;s why I&#x27;m not enthusiastic about static typing.