Introduction to OOP
Chapter 11: Static and Dynamic Behavior:
Arguments for and Against
Static and Dynamically typed languages have existed as long as there have been programming languages. Arguments for and against:
Static typing allows better error detection, more work at compile time and hence faster execution time.
Dynamic typing allows greater flexibility, easier to write (for example, no declaration statements).
Both arguments have some validity, and hence both types of languages will continue to exist in the future.
, Slide 04