Software Engineer, Gopher

Joined May 2015
My one and only pattern to mock time in Go #golang
want to mock time in Go? you don't need a `clock` type, just make a field named `timeNow func() time.Time`
1
11
71
22,888
🎊 Go 1.20 Release Candidate 1 is released! 🏃‍♂️ Run it in dev! Run it in prod! File bugs! go.dev/issue/new 📣 Announcement: groups.google.com/g/golang-a… 📦 Download: go.dev/dl/#go1.20rc1 #golang
7
141
17
475
I've staked out an escape route see ☝️☝️☝️
1
1
Go style guide is awesome on its own, but particularly useful to give references during code reviews: google.github.io/styleguide/… (don't miss Decisions and Best practices sections)
6
18
“You can understand why some get excited about test coverage. It seems to make it possible to boil down the nebulous business of measuring code quality to a single number. But not every change that increases test coverage is necessarily an improvement.” —The Power of Go: Tests
4
2
18
Reducing complexity is more powerful than hiding it.
5
1
23
As a leader, sometimes your biggest contribution is not directing or telling, but instead asking why. Why did you make those choices? Why does this team need 25 people? Why is success 8 rather than 6 or 10?
2
8
2
38
My @cue_lang superpower continues to burgeon. This is hugely exciting. xitter.cf/rogpeppe/status/123167…
Announcement 🔈: the CUE project would like to officially welcome @carmatrocity, @rogpeppe, @mvdan_, and @ddm_tweets. Thread 👇
2
21
Announcement 🔈: the CUE project would like to officially welcome @carmatrocity, @rogpeppe, @mvdan_, and @ddm_tweets. Thread 👇
5
9
9
86
🎆 Go 1.19 is released! 📝 Release notes: go.dev/doc/go1.19 ⬇️ Download: go.dev/dl/#go1.19 #golang
24
509
62
1,567
I just gave a talk at @gopherconeu, if you weren't there; or it was just too fast... then there's a blog post version of it storj.io/blog/production-con… that you can read at your own pace.
5
33
2
163