Finally reviving my blog! Wrote a few thousand words about one of the most notorious bugs we encountered when porting tsc to Go: accidental variable shadowing. It's a pleasure to write go/analysis passes, and I was really happy with the results of my shadow analyzer. Please enjoy the CFG diagrams!
Post
jakebailey.devDetecting dubious shadowing in GoThe most common porting bug in the TypeScript Go port
This was the least annoying way to do it in hugo gohugo.io/content-mana... That and it was nice to control the layout directly. However, _not_ nice to attempt to color the variable names, which I did via CSS style for each character individually :)))
gohugo.ioDiagramsUse fenced code blocks and Markdown render hooks to include diagrams in your content.