News for hackers. Stuff that matters.
Re:“Swift will be open source later this year” by coldtea on Monday June 08, 2015 @03:45PM (#9681803)
>Parsing a JSON response into a Swift object takes a full-day to figure out when it's literally just JSON.parse(response) in any other language.

Something which has nothing to do with the language.

Here's how you do it with a popular Swift lib:

let json = JSON(data: response)

if let userName = json[0]["user"]["name"].string{ .... }

Re:“Swift will be open source later this year” by chc on Monday June 08, 2015 @05:05PM (#9682410)
Eh, the awful state of their respective standard libraries seems to come up quite a bit when people are critiquing OCaml or D.