News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by beanjuiceII on Tuesday June 11, 2024 @05:35PM (#40651828)
after using swift extensively i did not find it better of the two, in fact it is a complex keyword ridden language that seems bolted together at very many angles, each swift codebase i enter is like a new mystery to unfold because of its extremely rocky evolution
Re:Swift Static Linux SDK by Klonoar on Tuesday June 11, 2024 @06:13PM (#40652242)
One thing that bugs me to this day is reading Swift code without an IDE can be an exercise in “let me build up a mountain of context first”, due to the way enums and types can get shortened.

It’s nice to write but a pain to review. Meanwhile if I read Rust or Go, it’s more or less what you see is what you get.

I do agree in general that it’s frustrating that Rust hasn’t kept up with some of Swift’s pushes, but then again that’s the difference when you have the richest company in the world involved.

For context, I’ve written many apps in Swift, deployed a backend in Vapor, and worked with teams who use the language. I always thought I’d get over it but it just never fully clicked.

Re:Swift Static Linux SDK by msie on Wednesday June 12, 2024 @02:26PM (#40661266)
Yes! Reading Swift code, even tutorial code, can be difficult.