Archive of posts about Go
Posted on December 3, 2017
Just a quick note to mention the new web site I launched this weekend for Kivik, my open-source CouchDB driver for Go.
http://kivik.io/ will be the future home of all Kivik related news, rather than cluttering this blog with such details as I have in the past.
Continue reading `New Kivik web site` →
Filed under:
Go
Programming
Posted on September 25, 2017
When it comes to writing web apps in Go, I have yet to see a clean solution for a very fundamental problem. I see an impedance mismatch between Go idioms and the necessities of the HTTP protocol. It’s by no means exclusive to Go, but this is where it bothers me, so I’ll limit my discussion to the problem as it affects Go.
Continue reading `The Go/HTTP handler impedance mismatch` →
Filed under:
Go
golang
http
Programming
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
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
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
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
Posted on October 13, 2016
On Monday I had my first brush with what I guess might be called “fame.”
I attended the dotGo 2016 conference in Paris–a conference for Go developers.
I chose my seat in the balcony of the Théâtre de Paris, and within a few minutes the seats next to me filled in, and I began chatting.
Continue reading `Almost Famous` →
Filed under:
conference
fame
Go
golang
Programming