# Effect: the unreadable library that captured my heart

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[Matt Pocock](https://www.youtube.com/@mattpocockuk) · Published 2025-06-29 · 13:03 · A tier · Effect

[Watch on YouTube](https://www.youtube.com/watch?v=S2GChOwivwQ) · [All RatTube videos](/tube)

## Summary

The speaker introduces [Effect](/lore/effect-basics) through an audio and video processing workflow. [Typed errors](/lore/error-model) let the program name different failures and handle a chosen error without treating every failure alike.

The walkthrough adds an AI service to show [dependency tracking](/lore/context-and-requirements) in the [Effect](/lore/effect-basics) type. It also covers [tracing](/lore/trace-meaningful-operations), configuration, and other library modules. The closing discussion considers the kinds of backend projects where learning Effect may be worthwhile.

## Section notes

- [2:25](https://www.youtube.com/watch?v=S2GChOwivwQ\&t=145s): The audio extraction example introduces typed failures.
- [4:42](https://www.youtube.com/watch?v=S2GChOwivwQ\&t=282s): A tagged catch handles a specific named error.
- [7:04](https://www.youtube.com/watch?v=S2GChOwivwQ\&t=424s): An AI service appears as a required dependency in the program's type.
- [9:23](https://www.youtube.com/watch?v=S2GChOwivwQ\&t=563s): Named spans support trace viewing; configuration and concurrency are also discussed.
- [11:43](https://www.youtube.com/watch?v=S2GChOwivwQ\&t=703s): The speaker considers backend teams and incremental adoption.

## Key concepts

- [Effect](/lore/effect-basics)
- [Typed errors](/lore/error-model)
- [dependency tracking](/lore/context-and-requirements)
- [tracing](/lore/trace-meaningful-operations)

## Our take

Matt Pocock gives a fast tour of Effect's syntax, typed errors and dependency injection, and why he came round to it. A good first look if you have thirteen minutes.

## Related videos

- [Effect TypeScript Library: Beginner / Intermediate Workshop (Effect Days 2024)](/tube/effect-typescript-library-beginner-intermediate-workshop)
- [Effect for Beginners](/tube/effect-for-beginners)
- [Production-Grade TypeScript by Johannes Schickling (Effect Days 2024)](/tube/production-grade-typescript-by-johannes-schickling)
- [Effect on the Frontend: When, Why, How | Sandro Maglione (Effect Days 2025)](/tube/effect-on-frontend-when-why-how)

Summary based on the transcript. Written 2026-11-15.
