Buy my books

Beyond Effective Go
Beyond Effective Go
Hands-On Dependency Injection in Go
Beyond Effective Go – Part 2: Striving for High-Quality Code

Now available from: Amazon / Barnes & Noble / Booktopia

Beyond Effective Go cover

Discover the unique secrets to writing high-quality code efficiently and effectively and dramatically improve your development productivity. Building on the success of Beyond Effective Go—Part 1: Achieving High-Performance Code, Corey shares wisdom and practical approaches to software engineering, software design, and code UX that will set you on the path to success.

This series doesn’t waste time on the basics but dives straight into the solutions for the everyday challenges that professional programmers face. With clear explanations and real-world examples, you’ll gain the skills to build performant, maintainable, and testable applications in Go efficiently and effectively.

Unlike many programming books, Beyond Effective Go focuses on the programmer and the code. Whether you’re building large-scale backend services or convenient automation tools, the book will help you write maintainable, high-quality code that meets the needs of your users, programmers, and your business.

This book, Part 2 of the series, focuses on striving for high-quality code. It is built around the idea that we can only be consistently productive by producing quality work. To achieve quality, we need an arsenal of tricks, tools, and methodologies and the knowledge to apply them.

Now available from: Amazon / Barnes & Noble / Booktopia


Beyond Effective Go – Part 1: Achieving High-Performance Code
Now available from:
Gumroad (cheaper) / Amazon / Google Play / Barnes & Noble / Booktopia / Wook / Kobo / Rakuten
Beyond Effective Go cover

Empower yourself with the ability to write high-performance code in Go, significantly enhancing the performance of your applications. Corey’s book provides practical and concise explanations and clear, easy-to-follow examples. Beyond Effective Go—Part 1: Achieving High-Performance is designed to equip you with the knowledge you need and enable you to apply it immediately, fostering a sense of capability and empowerment.

This series doesn’t waste time on the basics but delves straight into the solutions for the everyday challenges that professional programmers face. With clear explanations and real-world examples, you’ll gain the skills to build scalable and maintainable applications in Go that are directly relevant to your work.

Unlike many programming books, Beyond Effective Go focuses on the programmer and the code. Whether you’re building large-scale backend services or convenient automation tools, the book will help you write maintainable, high-quality code that meets the needs of your users, programmers, and business.

This book, Part 1 of the series, focuses on achieving high-performance code. You will learn which aspects of your application or code to focus on and when. You will have a suite of tools, software patterns, and recipes to make your life easier.

Now available from:
Gumroad (cheaper) / Amazon / Google Play / Barnes & Noble / Booktopia / Wook / Kobo / Rakuten


Hands-On Dependency Injection in Go
Now available from:
Amazon / Packt / Google Play / Indie Books / Barnes & Noble

Of the six methods introduced in this book, some are conventional, such as constructor or method injection, and some unconventional, such as just-in-time or config injection. Each method is explained in detail, focusing on their strengths and weaknesses, and is followed with a step-by-step example of how to apply it.

With plenty of examples, you will learn how to leverage DI to transform code into something simple and flexible. You will also discover how to generate and leverage the dependency graph to spot and eliminate issues. Throughout the book, you will learn to leverage DI in combination with test stubs and mocks to test otherwise tricky or impossible scenarios.

Hands-On Dependency Injection in Go takes you on a journey, teaching you about refactoring existing code to adopt dependency injection (DI) using various methods available in Go. Hands-On Dependency Injection in Go takes a pragmatic approach and focuses heavily on the code, user experience, and how to achieve long-term benefits through incremental changes.

By the end of this book, you will have produced clean code that’s easy to test.

What you will learn:
Understand the benefits of DI
Explore SOLID design principles and how they relate to Go
Analyze various dependency injection patterns available in Go
Leverage DI to produce high-quality, loosely coupled Go code
Refactor existing Go code to adopt DI
Discover tools to improve your code’s testability and test coverage
Generate and interpret Go dependency graphs

Who this book is for:
Hands-On Dependency Injection in Go is for programmers with a few years of experience in any language and a basic understanding of Go. If you wish to produce clean, loosely coupled code that is inherently easier to test, this book is for you.

Now available from:
Amazon / Packt / Google Play / Book Depository / Indie Books / Barnes & Noble