Golang and the Billion Dollar Mistake

Опубликовано: 22 Март 2026
на канале: Melkey
8,766
402

When using Golang (even the most recent release of Go 1.22) you always need to be careful of the effects of the code you write. In this example I showcase what happens with nil values, and nil pointer dereferences in go.

25% FEM Membership with course:
https://frontendmasters.com/courses/c...


Links mentioned:
  / go_nil_panic_and_the_billion_dollar_mistake  
https://codefibershq.com/blog/golang-...
https://www.infoq.com/presentations/N...
https://github.com/uber-go/nilaway

Code: https://github.com/Melkeydev/go-bluep...
Video Editor: @TheMason

Twitch
I stream live on Twitch every weekend
Twitch :   / melkey  
Join the amazing community on Discord
Discord:   / discord  
I post memes and host Twitter Tech Spaces
Twitter:   / melkeydev  

The Best Resources to Learn Golang (If I Could Start Over)
Golang Has Entered A New Era for HTTP Routing
Golang, Nil and Billion Dollar Mistake

The WORST Mistake In Golang
Golang and the Billion Dollar Mistake

SUBSCRIBE OR GET LAID OFF
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝


#coding #neovim #typescript #programming #vim #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #rustlang #rust #twitch #twitchstreamer #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment #gymbro #gym #programmerhumor #programming #coding #golang #go #golanguage