Sign in

Matt Pocock

@mattpocock.com
15K followers 304 following 611 posts

Full-time TypeScript educator. Used to be a voice coach. He/him. Author of Total TypeScript 🧙 Hire me to teach your team TypeScript!

PostsRepliesMedia
Matt Pocock @mattpocock.com · 18/01/2026
No idea, I think minmaxing between harnesses/models is a mistake. Pick a tool and learn it deeply.
030
Matt Pocock @mattpocock.com · 18/01/2026
I just like it! I like the colocation of the files and the agent. But I also like the TUI.
110
Matt Pocock @mattpocock.com · 12/08/2025
www.totaltypescript.com/method-short...
totaltypescript.com
Method Shorthand Syntax Considered Harmful
Using the method shorthand syntax for function annotations in TypeScript can result in runtime errors. It is recommended to use object property syntax instead.
150
Matt Pocock @mattpocock.com · 28/05/2025
www.totaltypescript.com/need-a-playg...
totaltypescript.com
"Sorry, I Need A TypeScript Playground In Order To Help"
Learn how to provide a TypeScript playground when asking for help with your TypeScript questions, making it easier for others to assist you.
130
Matt Pocock @mattpocock.com · 27/05/2025
Some smoooooooth template literal types spotted in Vercel's Chat SDK Gives you automatically typed error codes for multiple features at once.
2663
Matt Pocock @mattpocock.com · 27/05/2025
Lol, whoops
030
Matt Pocock @mattpocock.com · 27/05/2025
Men will literally write custom mapped types instead of going to therapy
080
Matt Pocock @mattpocock.com · 26/05/2025
Damn, I really want to make a "UX Patterns For AI Applications" course All the hard stuff like stream resuming, generative UI, properly streaming markdown, editable plans, showing LLM progress
4320
Matt Pocock @mattpocock.com · 26/05/2025
Hilarious use case for a mapped type: Use it to rename an object key your backend developers consistently misspell parms -> params
3421
Matt Pocock @mattpocock.com · 24/05/2025
Yeah me too, not sure why they designed it like that
010
Matt Pocock @mattpocock.com · 23/05/2025
www.totaltypescript.com/need-a-playg...
totaltypescript.com
"Sorry, I Need A TypeScript Playground In Order To Help"
Learn how to provide a TypeScript playground when asking for help with your TypeScript questions, making it easier for others to assist you.
130
Matt Pocock @mattpocock.com · 23/05/2025
This appears to work: www.typescriptlang.org/play/#code/C...
typescriptlang.org
TS Playground - An online editor for exploring TypeScript and JavaScript
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
110
Matt Pocock @mattpocock.com · 12/05/2025
Some days my brain doesn't work. Today is one of those days
5321
Matt Pocock @mattpocock.com · 11/05/2025
Thanks John!
020
Matt Pocock @mattpocock.com · 09/05/2025
Don't know!
030
Matt Pocock @mattpocock.com · 29/04/2025
Could you email team@totaltypescript.com? Finished for the day but they will handle it
030
Matt Pocock @mattpocock.com · 29/04/2025
Thank u, nuxt
0220
Matt Pocock @mattpocock.com · 21/04/2025
Absolutely! ❤️
140
Matt Pocock @mattpocock.com · 21/04/2025
Hey Adam, I found this rancid turd that looks like you 😂
120
Matt Pocock @mattpocock.com · 20/04/2025
Lol how could I not be offended
130
Matt Pocock @mattpocock.com · 16/04/2025
I think strongly typed metadata is the idea. This is important for meta use cases, like generating open API spec
040
Matt Pocock @mattpocock.com · 12/04/2025
The theory is to get them the job with free resources, then get their work to pay for the paid course.
0220
Matt Pocock @mattpocock.com · 12/04/2025
I also hate paywalls, so I spent 9 months writing a TS book and released it for free: www.totaltypescript.com/books/total-...
totaltypescript.com
Total TypeScript Essentials
Learn how to use TypeScript to level-up your applications as a web developer through exercise driven self-paced workshops and tutorials hosted by TypeScript wizard Matt Pocock.
1230
Matt Pocock @mattpocock.com · 08/04/2025
Spotted in the wild today: a Mutable<T> type. Does the opposite of Readonly<T>. Weird that TS doesn't have this built-in.
3501
Matt Pocock @mattpocock.com · 03/04/2025
We'll see, I don't see it yet
030
Matt Pocock @mattpocock.com · 02/04/2025
I've made a breakthrough today - come up with a new style of course that's ready for the AI-assisted developer era. It's just unbelievably cool, can't wait to show you.
3300
Matt Pocock @mattpocock.com · 01/04/2025
Yes, that's why it returns an async iterable and not an array, like other libs
130
Matt Pocock @mattpocock.com · 01/04/2025
Two cool things in this snippet: 1. You can use 'glob' from Node instead of a library! (still experimental, available in 22+) But glob returns an async iterator, which can be annoying to work with. So... 2. Array.fromAsync lets you turn an async iterator into an array. Beautiful.
510411
Matt Pocock @mattpocock.com · 28/03/2025
Want to enter the world of AI, but don't know where to start? I've built a roadmap on how to become an AI Engineer. We cover: - What AI engineers are - What LLM's are used for - Evals - A directory of 17 techniques It's the perfect way to get ahead of the curve. www.aihero.dev/ai-engineer-...
aihero.dev
AI Engineer Roadmap
Want to build AI-powered apps, but don't know where to start? You need a roadmap.
2466
Matt Pocock @mattpocock.com · 28/03/2025
Awesome, glad you enjoyed it!
020
Matt Pocock @mattpocock.com · 28/03/2025
The book is a printed version of what's available free here: www.totaltypescript.com/books/total-...
totaltypescript.com
Total TypeScript Essentials
Learn how to use TypeScript to level-up your applications as a web developer through exercise driven self-paced workshops and tutorials hosted by TypeScript wizard Matt Pocock.
020
Matt Pocock @mattpocock.com · 26/03/2025
"The AI Engineer Roadmap" dropping soon. Covering everything you need to enter the AI world: - What LLM's are used for - The AI engineer mindset - Evals - 17 techniques for improving your LLM-powered apps
2465
Matt Pocock @mattpocock.com · 24/03/2025
This is unbelievably cool Just keep pressing 'space' to learn how an LLM works
bbycroft.net
LLM Visualization
A 3D animated visualization of an LLM with a walkthrough.
58111
Matt Pocock @mattpocock.com · 24/03/2025
Nope, you run them during dev
000
Matt Pocock @mattpocock.com · 24/03/2025
Lol yep
010
Matt Pocock @mattpocock.com · 23/03/2025
I have worked with TypeScript for 7 years. I have written a book, produced 5 courses, made countless videos and articles, and delivered workshops about TypeScript. And today I learned that TS can do this:
5710
Matt Pocock @mattpocock.com · 21/03/2025
It's the evals, stupid
3281
Matt Pocock @mattpocock.com · 21/03/2025
Trying to define an agentic loop in the fewest amount of words.
4233
Matt Pocock @mattpocock.com · 18/03/2025
"In a world where folks are throwing LLMs at every problem, being able to sniff out when not to use them is a valuable skill."
aihero.dev
When To Use LLM's, And When Not To
Discover when to use LLMs for data tasks like structuring and classification, and when to opt for deterministic systems.
1211
Matt Pocock @mattpocock.com · 14/03/2025
LIVE NOW with Anders Hejlsberg: www.youtube.com/watch?v=NrEW...
youtube.com
LIVE: Anders Hejlsberg on TypeScript’s Go Rewrite
YouTube video by Matt Pocock
0397
Matt Pocock @mattpocock.com · 14/03/2025
Good hint! I imagine your mileage may vary per client, since it's up to the client to the show or hide the notifications
000
Matt Pocock @mattpocock.com · 13/03/2025
I like to keep the user in control of that
120
Matt Pocock @mattpocock.com · 13/03/2025
And yes, I should probably add something on building MCP clients
020
Matt Pocock @mattpocock.com · 13/03/2025
Here's what the messages look like: www.aihero.dev/how-does-the...
aihero.dev
How Does The Model Context Protocol Work?
Discover how the Model Context Protocol (MCP) functions, linking hosts and servers with seamless client-server communication and JSON-RPC 2.0 protocol.
220
Matt Pocock @mattpocock.com · 13/03/2025
Prompts here: www.aihero.dev/using-mcp-pr... Agree that resources and sampling need adding at some point. Right now I just decided to cover the features that most clients support - tools and prompts.
aihero.dev
Using MCP Prompts
Unlock MCP server power by using prompt templates. Perfect for enhancing LLM workflows and boosting productivity with custom commands.
020
Matt Pocock @mattpocock.com · 13/03/2025
I'd bloody love any feedback you have for me.
380
Matt Pocock @mattpocock.com · 13/03/2025
OK, Bluesky. Time for an early preview. (X hasn't seen this yet) I've shipped a 9-lesson tutorial on the Model Context Protocol - the USB-C of AI. It'll take you from "WTF is MCP" to shipping your own servers to the world. And, it's free. Check it out: www.aihero.dev/model-contex...
aihero.dev
Model Context Protocol Tutorial
The Model Context Protocol is driving a new wave of innovation in the world of AI. In this tutorial, I'll break down everything you need to know to get started.
59913
Matt Pocock @mattpocock.com · 12/03/2025
Nearly ready...
0280
Matt Pocock @mattpocock.com · 12/03/2025
Give me your favourite MCP client. Claude Code is fine. Cursor is OK. I want to branch out.
7100
Matt Pocock @mattpocock.com · 11/03/2025
Fixed, thanks
020