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

  • The “why” of writing tests

    The “why” of writing tests

    Unit testing is part of my normal development flow now. For the most part, I try to write my code in a “TDD” or “BDD”…

  • Using React stateless components for quick prototyping

    Using React stateless components for quick prototyping

    When you’re building a new app using React it’s nice to start laying out all the components you’ll want to use inside the components that…

  • Re-ordering Objects in a List

    Re-ordering Objects in a List

    In an old version of an app I wrote, I had a list of objects which were in a specific order. I wrote the app…

  • ES2015 module re-exports

    Today’s episode of TIL (“Today I Learned”) is: Did you know you can re-export modules in ES2015 (aka: ES6, aka: new JavaScript)? That is, you…