Hacker News new | ask | show | jobs
by EGreg 445 days ago
And iOS programming makes you fill dictionaries with alternating k,v,k,v,nil
1 comments

*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.