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

  • Await, there’s more!

    Await, there’s more!

    This week I gave a talk at my local JavaScript meetup on the history, use, and future of Promises and I thought that you, dear…

  • Alternatives to Else

    Alternatives to Else

    One of the first imperative programming concepts I ever learned was if/else. With this relatively simple power tool I could make decisions in my code…

  • How do we deal with dependencies in PHP

    How do we deal with dependencies in PHP

    Generally what we want to do when we’re coding something is to call a function. While some of the functions we call could stand alone…

  • Legend of the Whale

    Legend of the Whale

    As has become tradition, every year I design and run a one-shot Dungeons & Dragons game for my co-workers at our annual gathering. This year…