Effective ML
Channel:Jane Street · Length:1:09:24 · Published:2016-04-05 · Views:30036
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
- Lambda World 2018 - What FP can learn from Smalltalk by Aditya Siram · Lambda World · 43:36
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- Pete Hunt: React - Rethinking Best Practices (updated) - JSConf.Asia 2013 · JSConf · 40:57
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Conway's Game Of Life in APL · Dyalog · 7:47
- Lecture 1A | MIT 6.001 Structure and Interpretation, 1986 · MIT OpenCourseWare · 1:12:55
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08