Search code examples
terminologystrong-typingstatic-typingdynamic-typingweak-typing

Static/Dynamic vs Strong/Weak


What is the difference between Static/Dynamic and Strong/Weak typing?


Solution

    • Static/Dynamic Typing is about when type information is acquired (Either at compile time or at runtime)

    • Strong/Weak Typing is about how strictly types are distinguished (e.g. whether the language tries to do an implicit conversion from strings to numbers).

    See the wiki-page for more detailed information.