Posts

  • Rendering Markdown in the Terminal with Glamour

    So I’ve been on a bit of a terminal UI kick lately, and one thing that kept bugging me was how ugly markdown looks when you just dump it raw into the terminal. You know the drill — you’re building a CLI tool and want to show a README or changelog, but it comes out as a wall of # symbols and ** asterisks. Not great.

  • Go's init() Function: When to Use It (and When Not To)

    Let’s discuss Go’s init() function—it’s convenient until it causes issues.

  • Error Handling Is Not Boring

    I’ve seen the memes. “If err != nil” repeated fifty times. Go’s error handling is “verbose.” It’s “tedious.” It’s “boring.”

  • Your CLI Deserves a --help Flag

    Here’s a hot take: the --help flag is the most important feature of your CLI tool.

  • The Power of Small PRs

    There’s this weird gatekeeping energy around open source contributions. Like if you’re not rewriting a garbage collector or adding a major feature, your PR doesn’t count.

  • The Joy of Small CLIs

    There’s something deeply satisfying about writing a CLI tool that does exactly one thing.

  • Why I Write Go

    I didn’t pick Go because it was trendy. I picked it because I was tired.

subscribe via RSS