top | item 43599937

(no title)

tarvaina | 11 months ago

This is how Clojure does it.

https://clojure.org/guides/learn/hashed_colls#_creating_a_li...

discuss

order

EGreg|11 months ago

And iOS programming makes you fill dictionaries with alternating k,v,k,v,nil

frizlab|11 months ago

*The Swift language (not only iOS programming at all)

*it is one way of initializing a dictionary. Literal way has a closer to JSON form.

EDIT: Oh you seem to be talking about ObjC it seems! I did not see the nil. Literal way is still more akin to JSON though.