Re:Embracing Swift for Deep Learning
by rimliu on Sunday April 21, 2019 @07:55PM
(#19715315)
I am curious what do you think when you see some JavaScript developers moving to Typescript or talks about Ruby 3 having types?
[ Parent
| on HN ]
Types errors represent such a small class of errors. It’s just puzzling to see what all the hype is about.
In large sized projects, one of the most frequent activities you do is refactoring. For every refactoring, type errors often constitutes the largest class of errors by volume during initial development phases.
Then again, a language like Python keeps projects smaller, by not taking 100 lines to do what you can do in 10.
Re:Embracing Swift for Deep Learning
by adamnemecek on Sunday April 21, 2019 @09:28PM
(#19715714)
Nope, all computation is representable in terms of types.
Which is neither here nor there, as a contrived case.
In actual languages people us e(e.g. that have more than 2% of the job market), type errors caught by the compiler don't catch "all computation" errors.
Not even in Haskell...