Re:WWDC21
by blacktriangle on Monday May 24, 2021 @01:37PM
(#27267310)
It's good, but it's not really anything special. It feels like a mixture of the good parts of Scala, Kotlin, and Rust. Unfortunately lately it's getting pulled in a weird direction by SwiftUI (property wrappers and function builders are just unnecessary). It will be interesting to see how their actor implementation plays out. For the most part though it feels very restricted with its need for Obj-C interop and I suspect it will never make the leap out of the Apple ecosystem simply because it doesn't offer enough over the aforementioned languages to be worth the trouble.
[ Parent
| on HN ]
Re:WWDC21
by tictac-toe on Monday May 24, 2021 @01:52PM
(#27267515)
> It feels like a mixture of the good parts of Scala, Kotlin, and Rust.
Indeed, I think at the moment it's hands down the best language available for general application programming. The problem is the lack of libraries on non-apple platforms.
Re:WWDC21
by read_if_gay_ on Monday May 24, 2021 @02:01PM
(#27267639)
Property wrappers are unnecessary but sometimes they allow for very clean code. For example you can create a wrapper to persist data to UserDefaults like
@Persisted(key: “myKey”) var myInt = 42
which is a really nice way to avoid a lot of boilerplate.