Re:My misalignment with Apple's love affair with Swift
by jkulubya on Sunday June 10, 2018 @11:45PM
(#17281607)
I 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).
Re:My misalignment with Apple's love affair with Swift
by mpweiher on Monday June 11, 2018 @02:20AM
(#17282214)
> 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.
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.