Hacker News new | ask | show | jobs
by happytoexplain 417 days ago
This falls under the "new frameworks" category I glossed over. SwiftUI, SwiftData, etc, are failures in my opinion. SwiftUI in particular abuses the type system. In your own code the type system is very helpful.
3 comments

If just about every big new framework in a language is a failure, what does that say about the language?
If you do a lot with combine publishers, then you might also have a hard time with the type system
Yep. If you’re writing good code that avoids common smells things are perfectly speedy. Usually if you’re making the compiler grumpy you should be sitting back and reconsidering your design anyway.
It has nothing to do with code quality: https://danielchasehooper.com/posts/why-swift-is-slow/
Hmm...getting strong "you're holding it wrong" vibes here.