Session

Unraveling Go Anti-patterns: Best Practices for Clean and Efficient Code

Embark on a journey to enhance your Go programming prowess by unraveling common anti-patterns that can sneak into your codebase, hindering maintainability and efficiency. In this insightful talk, I will explore real-world scenarios, providing not just a diagnosis of these anti-patterns but, more crucially, prescribing practical solutions to elevate your Go coding practices.

Discover the pitfalls of global state misuse and how to structure state for better maintainability. Dive into the intricacies of error handling, learning how to gracefully manage errors and fortify the resilience of your code. Navigate the challenges of concurrent programming, unveiling the mysteries of race conditions and synchronization techniques to write efficient and robust concurrent code.

Cleanliness is paramount in code readability. Explore the importance of decluttering your codebase by eliminating unused imports and variables, fostering a collaborative and efficient development environment. Optimize your string handling code by steering clear of inefficient concatenation practices, and strike the right balance in using interfaces for code flexibility without unnecessary complexity.

Finally, demystify the nuances of dependency management, avoiding common mistakes that can compromise the stability of your projects. Learn version control best practices and ensure a secure and well-maintained codebase.

By the end of this talk, you'll not only be able to identify these anti-patterns but will also be armed with practical strategies to weave clean, maintainable, and efficient Go code. Join us for an exploration into the heart of Go anti-patterns and emerge a more adept Go developer.

Rabieh Fashwall

Senior Software Engineer

Münster, Germany

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top