The role of types

Static vs Dynamic Typing

<aside> đź’ˇ Two approach based on the way in which the type of a variable is determined.

</aside>

We do we need static typing when it is more convenient to use dynamic typing ( Where we don’t need to declare variables in advance)?

Why Static typing?

Types as organizing concepts

Static Analysis

<aside> đź’ˇ Identifying errors as early as possible can save cost and effort.

</aside>

Why?