| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43940539
这篇 Hacker News 讨论帖围绕 Swift 6.2 展开,反应褒贬不一。一些人对新增功能,例如测试中的自由格式标识符,表示质疑;另一些人则赞赏诸如所有权模型更新和异步 API 等改进。人们担心语言变得过于复杂,类似于 C++ 或 Rust,并且关注点正在从通用编程转向 SwiftUI。 讨论还涉及 Swift 在 Apple 生态系统之外的实用性。一些人认为它可以作为 Linux 或嵌入式系统上的 C++ 替代方案,另一些人则指出文档不足以及 Apple 明显的关注点。关于 Swift 在服务器端开发中相较于 Go、Rust 或 Java 等语言的优势,存在争议,有人指出其在 Apple 环境中的代码复用优势以及 iOS 开发人员的熟悉程度。最后,讨论还涉及 Swift 是否使用了垃圾回收器(它使用确定性引用计数)。
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
N years later, it doesn’t feel like there has been a step change in Apple software quality; if anything Apple software feels less solid, and looks cool “look what I did” extension points. I mean, some of the tings you could do with runtime categories, and runtime prototypes were really cool. Now when I work on my 2 apps that originally happily port to Swift/UIKit, I’m just left confused with how to make things work. I’m happy when it finally works, and don’t ever try to improve the thing, it’s too much work.
There’s lots of different variables at play here; I’m not trying to stretch inference too much. Heck, it could have been that with adding Swift to the mix, the forces that have contributed to reduced quality in Apples stuff would be even worse.
I’m just frustrated. When I work in Elixir, I’m like this is cool. When I work in Kotlin, I don’t feel like “Apples got a language like this too, but it’s got that extra special zing that used to make stuff Apple touched cool.”
reply