Category Theory, The essence of interface-based design - Erik Meijer
Channel:FooCafe · Length:1:03:14 · Published:2015-09-10 · Views:74569
Summary
Erik Meijer argues that category theory is the mathematicians' version of interface-based design. He shows that Java 8 lambdas and method references form a Cartesian closed category.
Why HN recommends it
It is cited as an authoritative take on category theory for programmers and API design.
Erik Meijer Explains it well — HN, 2018
Functional programming · Software architecture & design · Pure mathematics
Subtitles (excerpt)
[Music] [Applause] what we're going to do uh tonight is to celebrate of course the um three-year anniversary of fuka um and also um we're going to give a tribute to uh Yim lbeck um who is a kind of category theorist that kind of made the connection between uh the Lambda calculus and category Theory and finnally his name kind of you know has the same prefix as a Lambda calculus that isn't that a coincidence I don't know um but anyway so in just in the spirit of deliberate and continuous learning um you know like who here uses Java 8 a few people who here uses Java 6 a few people that's well so it has taken like many many years before Java 6 became Java 8 and added lambdas now if the um language designers would have practiced deliberate and continuous learning it would have happened like you know decades ago because all this knowledge was already developed by people like lumc um and tonight I'm going to tell you the tricks how you as a developer can tap into the brains of mathematicians and kind of steal their ideas such that you know you can kind become a better developer and then go to your boss and ask for more money because you're an awesome developer all right let's get started oops
On Hacker News
Also nice: Erik Meijer Explains it well: [VIDEO] (check out FP101 on edx) Statebox guys doing stuff with category theory, blockchain and petrinets: [LINK] [LINK] Graphical linear algebra: [LINK] Jules Hedges working on game theory : [LINK] — yenwel, 2018-10
> I prefer the academic truth, validated by renowned peers in the industry, presented at acknowledged conferences, to random opinions on the Internet. You don't even know who wrote the IEEE definition and who validated it. Second this isn't academic truth. This is just some arbitrary chosen standard chosen by industry. Not academic at all. In mathematics, the ultimate logical form of academia the… — deltasevennine, 2022-11
Erik Meijer gave a talk called "Category Theory, The essence of interface-based design" [VIDEO] Fundamentally, category theory is seen as some sort of holy grail of programming. The hope is that learning about only one API will let you interact naturally and composably with any interface conforming to that design. — adamnemecek, 2017-01
I watched a talk by Erik Meijer [1] recently where he mentioned that an implementation of a tuple such as (C# syntax mine, but illustrates the point) class Tuple<T1, T2> { public Tuple(T1 t1, T2 t2) { } public T1 Item1 => default(T1); // null for reference-types public T2 Item2 => default(T2); // null for reference-types } is a perfectly type-safe implementation of a tuple that's completely nonse… — clusmore, 2016-10
Yes! This isn't an accident. Erik Meijer, who contributed extensively to the Reactive Framework at Microsoft, has been very vocal about his use of category theory for software design. ( [VIDEO] ) He currently runs Applied Duality which is uses category theory as its guiding design principle ( [LINK] ) — chas, 2016-01
Related videos
- Vectors | Chapter 1, Essence of linear algebra · 3Blue1Brown · 9:51
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- But what is the Fourier Transform? A visual introduction. · 3Blue1Brown · 19:41
- 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
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- Lec 1 | MIT 18.06 Linear Algebra, Spring 2005 · MIT OpenCourseWare · 39:49
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- 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