My Profile Photo

Trevor Jones


My musings - interesting to me, hopefully will be for you


  1. Hashes Instead of Conditionals

    Try Hashes in place of conditionals! …


  2. Stop Copy/Pasting

    As mentioned in a previous post, I’ve been gaining lots of experience when it comes to training new developers. I’ve been doing one thing or another with new developers for almost 3 years now. …


  3. Using Rubocop as a New Developer

    Over the past almost 3 years now I’ve dealt a lot with new developers. At first I was one, then I TA’d for them for over a year, then I was a tech lead for them when they started an apprenticeship, then I was a teacher for a cohort over the summer, now I’m back to being a tech lead for the apprenticeship. So I feel that I have some experience regarding new developers. …


  4. Why Elixir is My Next Language of Choice

    I’m Moving Forward with Elixir …


  5. Using the terminal and figuring out Git

    How to use the Terminal and Command Prompt. …


  6. How to Test in Go

    Let’s test some Go! …


  7. Refactoring Models and Controllers

    Let’s reactor the Rails Models and Controllers. …


  8. Refactoring Views in Rails

    Let’s refactor the Rails views! …


  9. Rails: Include a Single JS File in View

    Something that drove me crazy was figuring out how to include a JavaScript file in a single view. Maybe it’s a lot of code you don’t want to run on every single page load. The Rails pipeline is great but makes this task difficult. Maybe I was looking in the wrong places but it took a while to find a solid solution. …


  10. SRP Classes and Gilded Rose Kata

    Refactoring the Gilded Rose Kata - Object Oriented Design Patterns …