Verbally Flimzy

Ramblings, Observations and Misconceptions

Archive of posts about Go

Automated Testing False Dichotomy #2: All vs None

Posted on September 4, 2017

This is the second installment in my series The False Dichotomies of Automated Testing. If you’ve ever met a recent test convert, you’ve probably heard them talk about the mythical creature that is “100% test coverage.” As with most benevolent mythical creatures, this one is highly sought after, and possibly even worshiped.

Continue reading `Automated Testing False Dichotomy #2: All vs None` →

Filed under: Go Programming Work

Announcing Kivik: the general-purpose CouchDB client API for Go and GopherJS

Posted on April 22, 2017

For nearly 3 months now, I’ve spent most of my free time working on a new open-source project: a Go client library for CouchDB and PouchDB. As I’m now putting together the last major feature for a 1.0 release, I feel it’s time to make my work public. So today I am announcing Kivik!

Continue reading `Announcing Kivik: the general-purpose CouchDB client API for Go and GopherJS` →

Filed under: couchdb Go pouchdb Programming

warn "Use of Perl has been deprecated.\n";

Posted on October 20, 2016

It’s been just over a month now, since my last day as an employee of Booking.com. Which means it’s been just over a month now since I wrote my last line of professional Perl. This is worth celebrating! Now don’t get me wrong. It’s not that I hate Perl. In fact, I’ve really enjoyed using Perl over the years.

Continue reading `warn "Use of Perl has been deprecated.\n";` →

Filed under: Go javascript node.js Perl Programming Work

How I got go-spew to work with GopherJS

Posted on October 19, 2016

go-spew is a very handy library used for dumping arbitrarily complex data structures in a (roughly) human-readable format. This is immensely helpful when debugging or writing automated tests in programs. Coupled with a package like go-difflib, it can make comparing the expected and actual results of a test not only easy, but into something approaching fun.

Continue reading `How I got go-spew to work with GopherJS` →

Filed under: Go gopherjs Programming