Go

Thinking Backwards

2 minute read Published:

Sometimes backwards is best. This is just a quick post on something I ran across for work and I though was interesting. I study Japanese and there is some research pointing to the fact that language can affect the way you think. I recently ran across a situation and wanted to discuss it briefly. I was tasked with something quite simple. The problem was this: Take a list of strings and create an output that displays the list using natural english.

Thread safe data structures using channels in Go.

6 minute read Published:

Introduction Go has a number of great features that make programming fun again. The inclusion of channels as first class values is among my particular favorites. This combined with go also having support for first class functions really provides a great foundation for being able to do some really neat things very easily. Building a “thread safe” stack. I’m sure we all remember from a ‘classic data structures’ class how to build a stack.