News for hackers. Stuff that matters.
Re:Swift Programming Language Evolution by Koshkin on Monday May 09, 2016 @01:21PM (#11661463)
For people coming from C/C++/ObjC, some things in Swift can take some time to get used to, e.g. if case .Success(let person) = personResult { ... } My first thought when I saw this was, "only mother could love this syntax", but later you come to appreciate and enjoy the syntax.

Link: https://www.natashatherobot.com/swift-guard-better-than-if/

Re:Swift Programming Language Evolution by protomyth on Monday May 09, 2016 @03:21PM (#11662398)
I've used ObjC since NeXTSTEP 3.3, and I'm trying to work with Swift. At this point, I've classified it in the same vein as Transact-SQL, a language I need to learn and use, but one I will not love. I guess I love the selector syntax too much. Shame that F-Script never caught on.
Re:Swift Programming Language Evolution by jkubicek on Monday May 09, 2016 @02:56PM (#11662185)
I love guard statements, but Swift's `if case...` syntax is horrendous. I'm approaching a year of full-time Swift and I still struggle to get the syntax right on the first try.