3 ms·
> IMO Swift is a language written by a compiler guy to solve compiler problems. I'm not convinced; the examples you give require _more_ work for the compiler w
by saghm 8y ago
> IMO Swift is a language written by a compiler guy to solve compiler problems.
I'm not convinced; the examples you give require _more_ work for the compiler writer, not less. In general, a stronger type systems means that the compiler has to do more.
- mpweiher 8y ago> require _more_ work for the compiler writer Exactly. In Objective-C, the compiler can't do much, which is kind of a bummer if you are a compiler guy. Chris is a compiler guy. Consider Swift a kind of public works program for your local compiler team.
- jkulubya 8y agoI see it in the sense that if the target for both compilers is to produce a correct program, then that target is much easier to achieve with more information (and less assumptions) passed in the source code by the programmer (ie Swift).