Go Time: Golang, Software Engineering cover image

Bob Logblaw Log Blog

Go Time: Golang, Software Engineering

00:00

Using Log Lines in Test Driven Development

I'm imagining some of your scenarios are writing logs to like help debug stuff. And I can imagine that those ones, yeah, over time, stop adding value. Like once you have tests and everything, you know, it's all working. It's kind of like, is that running every single time that function runs really adding value? Whereas like other parts of it definitely could be. Yeah, I tend to do that for marking bits, just that it reached it. So that's probably why I go through and remove the log statements. But also if I'm doing test driven development, I will tend to log a bit less really,. Unless there's specific kind of tricky behavior, something

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