In the first example, you not only create mutable dictionary and array, but you also specify their capacities. It's very useful if you are making some complicated calculations during which you create a lot of mutable collections, because it gives performance boost in such case. The other two examples are the same. Literals were introduced less than a year ago and they are out there just to make developers' lives easier.