Coming from Python and JavaScript the idea of using [] consistently for all collection types is interesting but it means you can’t infer just from the expression if it’s an array or a set. Dictionaries can be distinguished because each element has a key value separator (-> in scala apparently).
Coming from Python and JavaScript the idea of using [] consistently for all collection types is interesting but it means you can’t infer just from the expression if it’s an array or a set. Dictionaries can be distinguished because each element has a key value separator (-> in scala apparently).
[Comment removed by author]