跳过导航
“Swift, the original idea was factor complexity (…) massively failed, in my opinion (…) Swift has…
0:00 / 2:35

“Swift, the original idea was factor complexity (…) massively failed, in my opinion (…) Swift has…

Marcin Krzyzanowski

@krzyzanowskim3.9万 位关注者

在 X 上查看
795 个赞下载原帖

138,137 次观看

“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

10 条评论

评论来自 X (Twitter) 上的原帖

  • Marcin Krzyzanowski 的头像

    @krzyzanowskim

    “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.”

    82 个赞

  • Marcin Krzyzanowski 的头像

    @krzyzanowskim

    the whole interview with Chris Lattner

    80 个赞

  • kache 的头像

    @yacineMTB

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

    23 个赞

  • Marcin Krzyzanowski 的头像

    @krzyzanowskim

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

    2 个赞

  • Dr. Michael Lauer 的头像

    @DrMickeyLauer

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

    20 个赞

  • Marcin Krzyzanowski 的头像

    @krzyzanowskim

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

    22 个赞

  • Rasmus Andersson 的头像

    @rsms

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

    14 个赞

  • Manuel Chakravarty🦋@tacticalgrace.justtesting.org 的头像

    @TacticalGrace

    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.

    13 个赞

  • Mark Cornelisse 的头像

    @MarkCornelisse

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

    13 个赞

  • guillaume chereau 的头像

    @guillaumecherea

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

    10 个赞