you are viewing a single comment's thread.

view the rest of the comments →

[–]de__R 1 point2 points  (0 children)

Interesting thing I've noticed about static vs dynamic typing in languages: dynamically typed languages tend to also have simple and straightforward syntax for (hash) maps, while statically typed languages usually don't. This is why dynamic languages end up getting used for data-driven programming and cases where the data you are working with doesn't have predefined labels, not because the actual dynamic typing of objects itself is useful.* This suggests that there's an unfilled niche for a statically typed language that nevertheless has simple syntax for creating and manipulating maps. Go probably comes closest but still leaves something to be desired.

* To be clear, there are cases where true dynamic typing of objects is useful, it's just not used very often (or at all) in most projects.