Payton.Codes

Musings on life, games, and code

Hi, I’m Payton!

I’m a passionate coder by day and an enthusiastic tabletop dungeon master by night.

This blog is a place for me to tell stories and share fun things I’ve made. I write about insights from my coding projects, philosophical thoughts, and tales from epic D&D campaigns. Whether you’re a fellow developer, someone looking for a one-shot game, or a good friend, I’m excited to share my knowledge and adventures with you.

Here’s some of my latest posts

  • Declarative vs. Imperative: asking for soup vs. making soup

    Declarative vs. Imperative: asking for soup vs. making soup

    A little while ago I wrote a post about my concepts of declarative vs. imperative programming. I ended that article by saying, “I can’t wait…

  • Lightweight rendering of React to strings

    Lightweight rendering of React to strings

    For a recent project I needed to be able to render React components (or really, just React-like components) into plain HTML strings. Of course, React…

  • PHP Unit Testing and Pad Thai

    PHP Unit Testing and Pad Thai

    As a follow-up to my last post about PHP unit testing, I recently gave a talk at WordCamp Boston about how to write testable WordPress…

  • Temple of the Ruby Sands

    Temple of the Ruby Sands

    A year ago I published a Dungeons & Dragons adventure titled The Stonecutter Samurai which was written to share with my friends and co-workers at…