Coding Blocks cover image

Clean Code – Error Handling

Coding Blocks

00:00

Using a Logging Library, Is That a Good Idea?

As a general rule, i try to keep dependencies as far fromy actual logic as i can. So things that like touch the data base file system on things logging, i want those to be touching as little of my coat as possible. And i'd rather funnel stuff through, like common methods to take care of it. It has got a couple of benefits, like making things more testable in what not. But if i'm like saying eno, like executing queries in every method, just straight up eno sequel command, run a query, that's really difficult to test without having, you know, a data basi and maintaining the data in the state all the time. By

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app