| 1. |
What Is Strong-typing Versus Weak-typing? Which Is Preferred? Why? |
|
Answer» Strong typing implies that the types of VARIABLES INVOLVED in OPERATIONS are associated to the VARIABLE, checked at compile-time, and require explicit conversion; weak typing implies that they are associated to the value, checked at run-time, and are implicitly CONVERTED as required. (Which is preferred is a disputable point. Strong typing implies that the types of variables involved in operations are associated to the variable, checked at compile-time, and require explicit conversion; weak typing implies that they are associated to the value, checked at run-time, and are implicitly converted as required. (Which is preferred is a disputable point. |
|