Re:Category Theory: Lecture Notes and Online Books
by Twisol on Thursday December 30, 2021 @07:31AM
(#29736184)
That said, Spivak's work on framing databases in terms of categories [2] is pretty fascinating, and might be worth poking at.
[2] http://blog.ezyang.com/2010/06/databases-are-categories/
Unfortunately, that's also why most resources directly on category theory are deeply wedded to pure mathematics -- it's an architectural form that has been developed by mathematicians to organize their own constructions. Folks like Scott Wlaschin [0] and Mark Seemann [1] have, I think, much more success in teaching categorical concepts in a software context, but since their material is often so far removed from category theory "proper" (intentionally and for good reason), they don't really paint much of a path toward category theory themselves.
(I've recently been learning Agda, a dependently-typed language / proof assistant, and it's kind of shocking how often refactoring my proofs lead to more "obviously categorical" concepts. I really think there's something to this category-theory-as-mathematics-architecture angle.)
[0] https://fsharpforfunandprofit.com/rop/
[1] https://blog.ploeh.dk/2017/11/13/endomorphism-monoid/