Effective ML

Channel:Jane Street · Length:1:09:24 · Published:2016-04-05 · Views:30036

Watch on YouTube

Summary

Yaron Minsky of Jane Street gave this talk to Harvard's OCaml-based CS51 class in 2010. It collects advice on being an effective ML programmer in an industrial setting.

Why HN recommends it

It is the go-to source for the idea of making illegal states unrepresentable through types, with the key moment at 28:02.

Richard Feldman dives deeper into the topic with a lot more examples in — HN, 2018

Programming language design · Functional programming

Subtitles (excerpt)

cool all right welcome everybody today is a beautiful sunny special day because I didn't have to prepare any lecture notes and we have a guest Yaron Minsky from Jane Street capitals so I mentioned Jane Street and the work that they do with camel at the beginning of the year I hope you remember some of that if you go back and look at the notes yarns gonna come and talk to you about what I think is probably the shop of programmers that knows the deepest and most about camel except maybe the guys in France who who made camel itself those guys are pretty good they're good yeah um do we have any announcements Victor for class no okay I hope you're working on your projects making lots of progress on that yeah good okay um Aaron I let's see I forgot where you did your undergraduate work but I know where he did his graduate work because I was there it was at Cornell he was actually a distributed systems guys he's not a programming language person so this is why it's doubly good to bring him in as far as I'm concerned because he came to ml as a skeptical systems guy but he hung out with some PL people who helped convince him ultimately so Aaron welcome and please take it away I think I was actually convinced by the

On Hacker News

That'll be a great addition to the book. Can I also recommend Yaron Minsky's talk on OCaml, specifically the part where he talks about "making invalid states impossible": [VIDEO] I've found this to be the single most valuable programming technique I've learnt. Richard Feldman dives deeper into the topic with a lot more examples in [LINK] — jasim, 2018-11
I guess the closest thing to what you want in Ocaml is modular implicits. [LINK] As far as the tradeoff, my view on types is a bit different than yours, I think. First, a quick note: > specify manually all the types of all the functions This is usually encouraged in OCaml, in the form of a .mli file. I think types can be a lot more than "compiler checked documentation that can also work as basic … — chillee, 2018-02
"Make illegal states unrepresentable" is usually attributed to Yaron Minsky of Jane Street. This video shows it at 28:02. [LINK] [VIDEO] — marshray, 2021-11

Related videos