News for hackers. Stuff that matters.
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?
Re:Embracing Swift for Deep Learning by mr_toad on Sunday April 21, 2019 @09:13PM (#19715641)
Types errors represent such a small class of errors. It’s just puzzling to see what all the hype is about.
Re:Embracing Swift for Deep Learning by sytelus on Monday April 22, 2019 @01:12AM (#19716684)
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.
Re:Embracing Swift for Deep Learning by coldtea on Monday April 22, 2019 @08:15AM (#19718280)
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.

https://en.wikipedia.org/wiki/Curry–Howard_correspondence

Re:Embracing Swift for Deep Learning by coldtea on Monday April 22, 2019 @08:17AM (#19718295)
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...