Write packages, not programs — Bitfield Consulting
4 4
Go has a great standard library. What if we think about our work not merely as building one-off programs, but instead contributing packages to the universal Go library?
16h ago
Master of my domain — Bitfield Consulting
0 1
Let’s talk business—independent business, that is. What’s the cost of being the boss? Some more hard-learned lessons from my own horrible career.
on Tue, 10AM
Scripting with Go — Bitfield Consulting
0 1
The Unix shell is pure wizardry. Why shouldn’t it be as easy to write systems programs in Go as it is in the shell? The script library is the secret spell-book that makes this possible.
on Mon, 10AM
The Tao of Go — Bitfield Consulting
0 1
What is the Tao of Go, and how can we work with it, like a surfer going with the waves instead of struggling against them? By being kind, simple, humble, and not striving; here’s how.
on Sun, 6PM
If you need the money, don't take the job — Bitfield Consulting
0 0
Money: how to get people to give it to you, how much to ask for, and how to be worth what you're asking. Some real talk about the challenges you’ll face as a newly independent worker.
on Nov 3
Constraints in Go — Bitfield Consulting
0 0
Freedom is nothing without constraints, and Go’s generics gives us a powerful way to build polymorphic types and functions constrained by type sets . Let’s geek out.
on Nov 1
Generic types in Go — Bitfield Consulting
0 0
Golang generics open up a lot of exciting new possibilities for us as programmers. In this tutorial, we’ll look at ways we can use type parameters to define customised generic types.
on Oct 31
Shameless green: TDD in Go — Bitfield Consulting
0 1
Building software is easy when we’re guided by tests, because we can start with quick-and-dirty solutions, without worrying about whether the code is elegant and readable—yet. Let’s see how to use the TDD technique called “Shameless Green”.
on Oct 30
Suite smells: testing legacy code — Bitfield Consulting
0 0
How do you rescue a legacy codebase that has no tests? Let's look at some techniques for clawing your way back to maintainability, one test at a time.
on Oct 28
Programming is fun — Bitfield Consulting
0 0
I was a guest on the Cup o’ Go podcast recently, talking with Shay Nehmad and Jonathan Hall about writing and teaching Go. Here’s a transcript of our chat.
on Oct 20
Rust vs Go in 2024 — Bitfield Consulting
0 0
Which is a better choice, Rust or Go? Which language should you choose for your next project, and why? How do the two compare in areas like performance, simplicity, safety, features, scale, and concurrency?
on Oct 7
A career ending mistake — Bitfield Consulting
0 0
As software engineers, we're constantly making detailed, elaborate plans for computers to execute. Isn't it weird that we rarely give a moment's thought to the program for our own careers?
on Sep 27
Functional programming in Go — Bitfield Consulting
0 1
Thanks to generics, there are some interesting new ways to program in Go. This article explains how we can use functional programming techniques like Map, Filter, and Reduce, and what kind of problems they might help us to solve.
on Sep 24
Monk Mode — Bitfield Consulting
0 0
Could I have your attention for a moment? Probably not, because seven billion other people are also clamouring for your attention, and that makes the world a noisy place. Minute by minute, your life is being carved up and sold, and you can’t buy it back. That’s why we all feel so stressed, tired, an
on Sep 15
Rust error handling is perfect actually — Bitfield Consulting
0 0
The night is dark and full of errors, so how should we handle these gracefully and safely in our Rust programs? Let’s introduce two of every Rust programmer’s favourite types: Option and Result.
on Sep 12
Go’s best-kept secret: executable examples — Bitfield Consulting
0 0
Did you know that Go lets us provide executable code examples as part of our documentation? It’s pretty neat. Let’s take a tour of this useful feature and see how it works.
on Sep 11
Cryptography in Go: AES encryption — Bitfield Consulting
0 0
AES is an amazing, state-of-the-art encryption system, and it’s built right in to Go as part of the standard library. It’s also incredibly easy to use. Let’s see how!
on Aug 15
Best Rust books for 2024 — Bitfield Consulting
0 0
There are many Rust books, but these are my favourites—and I think you’ll like them too. Here are my top five “must read” Rust books, reviewed.
on Aug 1
Programming with confidence: TDD in Go — Bitfield Consulting
0 0
There’s an easy, pleasant, and reliable way to build software in Go, guided by tests. Let’s find out what it’s like to program with confidence, in the first part of this TDD tutorial series.
on Jul 25
Iterators in Go — Bitfield Consulting
0 0
The iterator proposal is a neat way to write “lazy loops”, where we never generate more results than we actually use. Let’s see what that would look like in Go programs.
on Jul 9
Will write for food — Bitfield Consulting
0 0
In the final sizzling chapter of my career exposé, we’ll learn how I went from self-unemployment to founding the world’s tiniest publishing empire.
on Jul 8
Test scripts in Go — Bitfield Consulting
0 0
Wouldn’t it be great if we could write tests for our Go CLI tools that are simple as shell scripts? The testscript package lets us do exactly that. Let’s take it for a spin.
on Jul 6
Programming with confidence: TDD in Go — Bitfield Consulting
0 0
There’s an easy, pleasant, and reliable way to build software in Go, guided by tests. Let’s find out what it’s like to program with confidence, in the first part of this TDD tutorial series.
on Apr 2
My horrible career — Bitfield Consulting
0 0
Dev advocate Zack Proser grilled me lightly about my career, and why I haven’t taken any of my own advice. Read the full interview, but pay no attention to the man behind the curtain.
on Oct 15, 2023