upvote
>I heard about how beautiful it is

This used to be the case around Swift 4, but since then they've added so many features and keywords to the language. Now the simplicity and elegance is gone.

Also it seems like there was a marked change in the culture of Swift. It somehow attracted a lot of the "ackchyually" crowd which resulted in a lot of massively complicated features. I liked to occasionally browse the evolution docs and they got more and more complex over time.

reply
I find rust much noisier, especially at its basics where you write “for item in items” instead of using iter()
reply
Idk, I don't swift is objectively noisy but there is something about reading it that just hurts my brain. Stuff like

   ForEach(vm.sorted(by: \.name)) { user in
     row(for: user)
   }
\. looks like a syntax error to me, wtf. Also, "in" instead of -> ???

   .padding(.vertical, 4) 
I also really dislike how you can leave off the type name, meaning you never actually know what that Type is unless you literally inspect the signature of the caller.

   func sorted(by keyPath: KeyPath<User, String>) -> [User] {
      users.sorted { $0[keyPath: keyPath] < $1[keyPath: keyPath] }
   }
???

Yeah I fully accept it's just a me problem. But I hate it haha.

reply
What are you using for rust-swift interop?
reply