Re:Why We Chose Typescript
by cutler on Friday June 30, 2017 @10:05PM
(#14674913)
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.
[ Parent
| on HN ]
Re:Why We Chose Typescript
by andreasgonewild on Saturday July 01, 2017 @05:36AM
(#14676269)
As long as the number of mixed types is finite, unions/variants give you the same ease of use with static guarantees.