News for hackers. Stuff that matters.
Re:Apple’s Use of Swift in iOS 13 by gregkerzhner on Thursday September 26, 2019 @03:40PM (#21084694)
As a language itself, I love Swift. Optionals, the guard statement, protocols and protocol extensions standout as awesome productive features. However, (at least 1 year ago, I'm on React Native now), the tooling around Swift was still crappy. Expect longer compile times, occasional hair tearing issues, broken autocompletion and a flickering syntax highlighting. Overall though these issues aren't enough to make me want to go back to Objective C.
Re:Apple’s Use of Swift in iOS 13 by jimcsharp on Thursday September 26, 2019 @04:06PM (#21084943)
It's a testament to how crappy my code is, but I find myself having to give it type hints too often, and it'll give up on spitting out warnings if the file gets too large. There's a perverse thought. I can bypass warnings-as-errors by making my code bad enough ;)
Re:Apple’s Use of Swift in iOS 13 by ericlewis on Thursday September 26, 2019 @06:54PM (#21086494)
This typically happens at the layers where interop isn’t so good. Like using really old obj-c stuff. It’s worth reporting this to the swift project on github.
Re:Apple’s Use of Swift in iOS 13 by saagarjha on Friday September 27, 2019 @02:22AM (#21089003)
I'm sure https://bugs.swift.org/ will appreciate it much more.