Go Time: Golang, Software Engineering cover image

Go Time: Golang, Software Engineering

The se7en deadly sins of Go

Oct 25, 2023
In this spooky episode, the hosts discuss John Gregory's seven deadly sins of Go, including the importance of contextual comments, the concept of pride as a sin, building a flexible JSON schema parsing library, the use of channels for concurrency, balancing mindset and error handling, avoiding over engineering, unpopular opinions in horror films, and the opinion on Go as a language for software engineering and design.
01:15:20

Podcast summary created with Snipd AI

Quick takeaways

  • Properly documenting code and adding relevant context is essential for future maintainability and understanding.
  • Writing opinionated libraries that do not provide flexibility or options can limit the reusability and accessibility of the code.

Deep dives

Sloth: Lazy coding and lack of context in Go

Sloth in Go refers to lazy coding practices, such as inadequate commenting or writing comments that do not provide sufficient context. It also includes the failure to add context to errors, which can make it difficult to understand the cause of a problem. Properly documenting code and adding relevant context is essential for future maintainability and understanding.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner