Writing Accessible Go

A talk presented at GopherCon 2018. Full slides: PDF Transcript Hi, my name is Julia Ferraioli and this is Writing Accessible Go. First off, for those who would prefer to read a transcript alongside this talk, you can find a preliminary one here. Once the video is posted, I’ll go update that transcript to match what I’ve said here – hopefully there won’t be too many differences! I work at Google’s Open Source Office, developing tools to help people and teams with their open source projects and contributions....

Testing in Go: testing floating point numbers

I’ve been working on a library that includes some vector manipulations in Go, trying to follow good development practices and starting with writing my tests first. But early on, I ran into a bit of a problem: floating points. The problem Now, we know that floating points are an issue in programming, by the very nature of how they’re represented in memory. I loved Julia Evans’s brief explanation of how floats work in her Linux Comics Zine (scroll down to the sixth panel), and for a more in-depth explanation, see this piece by Carl Burch....