1min snip

Coding Over Cocktails cover image

What’s wrong with SOLID and Test Driven Development with Daniel Terhorst-North

Coding Over Cocktails

NOTE

How to Write a Model Client

We've taken a model client from three lines of code and a complicated construct to one line, right? Go us. Because hopefully many more people are ging to use our code than theyre gong to write in the first placee. That's development. Did you hear me use the word test ing there at all? No, cause i'm wright ing a model client. I'm not right in a test. Now, it turns out that if i use this model client to then run a query on top of an existing querying function, we get better results. And what if we just had on query as the entireapi? Sos, a bit more work for us

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode