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

  • 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…

  • Safely coding with constants

    Safely coding with constants

    In PHP there is a tendency to assume that the code we are working on is the only code that is running. The global and…

  • Giving more time to each thing

    Giving more time to each thing

    Lately a lot of my dharma practice has been revealing restlessness. Even when I think I’m being calm and slow and contemplative, I still am…