正在加载视频...

视频加载失败

“Swift, the original idea was factor complexity (…) massively failed, in my opinion (…) Swift has turned into a gigantic, super complicated bag of special cases, special syntax, special stuff” lesson learned from Chris Lattner on Swift

138,035 次观看 • 2 年前 •via X (Twitter)

10 条评论

Marcin Krzyzanowski 的头像
Marcin Krzyzanowski2 年前

“instead of fixing the core, what the team did, both when I was there, so partially my fault, but also subsequently, is they started adding all these special cases (…) a lot of this stuff got added under extreme time pressure to enable a feature like #SwiftUI. And there's a bunch of stuff that feeds into that, as well as just the language gets more and more and more and more complicated.”

Marcin Krzyzanowski 的头像
Marcin Krzyzanowski2 年前

the whole interview with Chris Lattner

kache 的头像
kache2 年前

The only reason anyone uses swift is because they are forced to

Marcin Krzyzanowski 的头像
Marcin Krzyzanowski2 年前

not necessary today. but that's how it got popular. it wasn't by choice, for sure.

Dr. Michael Lauer 的头像
Dr. Michael Lauer2 年前

Indeed. But dont‘t you dare to express this opinion on the Swift forum, the thread will be closed soon.

Marcin Krzyzanowski 的头像
Marcin Krzyzanowski2 年前

I don’t feel welcomed and safe on swift forum, therefore I do not participate in these discussions

Rasmus Andersson 的头像
Rasmus Andersson2 年前

Yup. Swift’s problems: - Overly complex “all ideas combined” language - Single-vendor compiler (ie poor portability = risky investment)

Manuel Chakravarty🦋@tacticalgrace.justtesting.org 的头像
Manuel Chakravarty🦋@tacticalgrace.justtesting.org2 年前

Yes, but that happens with basically every programming language. C is somewhat of an exception, but also stuck in the stone ages. Go is to some extent an exception on purpose and limits itself in that way. I’m not saying that everything is perfect in Swift, but it’s pretty good.

Mark Cornelisse 的头像
Mark Cornelisse2 年前

I’ve been saying this for a long time. Objective-C is far easier to learn and use.

guillaume chereau 的头像
guillaume chereau2 年前

At this point swift seems to be as complicated as C++, basically a “write only” language.

相关视频