4 ms·
The biggest advantage of dynamically typed languages is the ease of using deeply nested data structures with mixed data types. This is just a pain in languages
by cutler 9y ago
The biggest advantage of dynamically typed languages is the ease of using deeply nested data structures with mixed data types. This is just a pain in languages like Java and Scala where the Any type is often reverted to.
- andreasgonewild 9y agoAs long as the number of mixed types is finite, unions/variants give you the same ease of use with static guarantees.