golang and revenge of capt obvious

Golang and the revenge of Capt Obvious

I found a lot of my code (particularly the tests) had code that looked like this:   Then I was reading yet another great post from Karl Seguin and I noticed there was a much better (sexier) way....

Book Sneak Peak: Deadlocks

A small extract from my latest book about deadlocks
corey's code philosophy

The What, When, Why, and How of Testing

When it comes to testing, the most common misunderstanding is the motivations of testing itself. Some folks see testing as a burden imposed from on high. Some folks see testing, or more specifically, test coverage, as a metric that determines how well they did their job. Sorry, but neither of these is true. This post will address these fallacies and give you a different perspective on testing.

Beyond Effective Go: Part 2 – Striving for High-Quality Code is live!

Friends & fellow coders, I am overjoyed to share that part 2 has finally arrived. In this book, I share my secrets to writing high-quality Go code efficiently, effectively, and productively. It contains practical approaches to software engineering, software design, and code UX that will set you on the path to success. As you may know, in part 1, we focused on making our applications faster; part 2 focuses on making the programmer faster. As the DORA study has shown, writing high-quality code is key to delivering software quickly. For others, please pick up your copy of the book at your local Amazon website or your preferred bookstore.

Book Sneak Peak: Slow Consumers

The following content is a small extract from my latest book Beyond Effective Go – Part 1 – Achieving High-Performance Code. Slow consumers When designing function...
go quick tip

Go Get (Quick Tip)

All Golang programmer's are aware of how great "go get" is but until today I had not given much thought to how exactly it did or didn't do. Some background; today one of my builds (in Travis...
corey's code philosophy

My code philosophy

Recently, a friend joined me on one of my projects. As it was the first time we were actually coding on the same project I wanted to tell him my coding philosophy to make...
Corey Scott

My latest book is off to editing, and I’m excited!

Just dropping a quick update to let you know that Beyond Effective Go part two is finally going off for professional editing tomorrow! After the tremendous response to part one, I'm determined...
Go Tricks

A couple of neat Go Tricks

Last week I was privileged to give a talk to the Singapore Gophers meet up held at the GrabTaxi Singapore Tech Office. The talk was titled "Dependency Injecting (and Testing)" and was inspired by this great article...
testing external services

Testing External Services

There seems to have been a lot of talk around me lately in relation to "dev boxes" and "testing on staging". After unsuccessfully trying to convince folks of why I think this is a bad...