Category Theory, The essence of interface-based design - Erik Meijer

Channel:FooCafe · Length:1:03:14 · Published:2015-09-10 · Views:74569

Watch on YouTube

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