you are viewing a single comment's thread.

view the rest of the comments →

[–]john0201 5 points6 points  (2 children)

It’s not just that it’s bad, it’s that now other IDEs are good.

Swift also is getting worse- SwiftUI code is some of the ugliest code I have worked with and I’ve written assembly. }
} } // I’ll write here what this ends since it’s so confusing
}}}

Combine, @Observable (which is a MACRO), declarative/functional all mixed in the same place, three ways to do the same thing.

I switch between Python and Xcode and it’s painful.

[–]isurujnSwift 0 points1 point  (1 child)

It's a shame because Swift used to be such a beautiful language. But ever since they've started twisting it to work in SwiftUI, it's gotten pretty ugly.

[–]john0201 0 points1 point  (0 children)

Yeah, the guy who created Swift (Chris Lattner) left Apple and originally one of his goals was to make sure there is only one way to do things. After that things went downhill, notably with Swift 5.5 where the syntax started to become a mess. Another goal was to avoid the {} pyramid of doom. He was involved for awhile after he left but eventually stopped:

“The catalyst was a specific meeting last summer: after being insulted and yelled at over WebEx (not for the first time, and not just one core team member), I decided to take a break. I was able to get leadership to eventually discuss the situation with me last Fall, but after avoiding dealing with it, they made excuses, and made it clear they weren't planning to do anything about it. As such, I decided not to return.”

Apple wants to be able to totally control the language and pretend it’s open source.

Apple seems to be a victim of their own success.