Remix.run Logo
chairhairair a day ago

Beautiful? Just the number of keywords and reserved words and compiler attributes makes it very ugly to me. There are so many ways to do things (and if SwiftUI is involved I can expect a significant subset to... just not work - but I don't think that's the language's fault).

WhitneyLand a day ago | parent | next [-]

What would you have done differently? All healthy languages need to constantly evolve, you only get to decide where. You can change syntax, add keywords, attributes, etc but it's a tradeoff.

Any attributes or keywords relating to Objective-C or interop are not everyday baggage for most people.

For SwiftUI, attributes seem like as good a choice as anything else.

As a whole concurrency is a mishmash syntactic mess, but I agree with the direction and the result, they're trying to manage the improvements they keep adding over years of investment.

myHNAccount123 a day ago | parent | prev | next [-]

Why click into this thread then? Do you think they will make a Swift 7 with these release notes: - removed 10 keywords cause chairhairair didn't like them - fixed swiftui cause too many users don't know order matters - added another dsl implementation

vor_ 13 hours ago | parent [-]

Oh, are only positive reactions allowed?

The number of keywords in Swift is not an uncommon criticism . Even Chris Lattner is critical of the direction Swift went in after its inception. I'm not sure what you're referring to with "order matters," but SwiftUI's issues go far beyond the order of the modifiers used.

wannabe44 a day ago | parent | prev [-]

For many people a beautiful language is which looks beautiful, as opposed to one which reads beautifully.