All Articles

Generating data structures that need additional functions

There has been a lot of talk about generics lately in the Go community which as lead to me thinking about them a lot lately. In thinking about generics, my mind instinctively wandered to code generation because that has been my go-to tool when I do need something resembling a generic. In fact, I have written about using code generation to get by without generics in Go in the past.

What is SQL injection and how do I avoid it in Go?

SQL injection is a method used by hackers to attempt to trick your code into running arbitrary (read - REALLY BAD) queries on your database.

Using code generation to survive without generics in Go

Learn how to use code generation to create type-safe code (like a Queue or LinkedList) without having to rewrite the same thing over and over again.

Stacks - What they are, and how to implement them in Go

In this video we cover the stack data structure. Specifically, we talk about how they relate to the real world and then we discuss how to implement a stack using Go.

Queues - What are they and how do I implement one in Go?

In this video we cover what a queue is, how it relates to lines (like at the grocery store) in the real world, and how to implement a Queue in Go.

Let's Learn Algorithms - Updated Format, MOAR VIDEOS!

Join the discussion on Reddit I started the Let's Learn Algorithms series originally by writing tutorials that would: Teach how an algorithm works Demonstrate how to implement that algorithm in code Provide some practice problems so you can get real practice implementing the algorithm in different scenarios (2) and (3) are in my opinion incredibly important pieces to the puzzle that are often missing in many other courses, so I really try to give them just as much focus as the initial lesson that just teaches how the algorithm works.

Avatar of Jon Calhoun
Articles and Tutorials by
Jon Calhoun

Jon Calhoun is a full stack web developer who also teaches about Go, web development, algorithms, and anything programming related. He also consults for other companies who have development needs. (If you need some development work done, get in touch!)

Jon is a co-founder of EasyPost, a shipping API that many fortune 500 companies use to power their shipping infrastructure, and prior to founding EasyPost he worked at google as a software engineer.

Jon's latest progress update: Writing Course Notes

Recent Articles All Articles Mini-Series Progress Updates Tags About Me Go Courses

©2018 Jonathan Calhoun. All rights reserved.