Brandon Weaver
Brandon Weaver
  • @keystonelemur

Brandon is a Principal Software Engineer at Gusto working on the Payroll Services platform. He writes on several Ruby topics from introductory to advanced content, and has invested substantial time into AST tooling and its potential.

Refactoring with ASTs and Pattern Matching

Pattern matching in Ruby is not a well understood or frequently used feature, but when paired with ASTs it becomes an incredibly powerful tool for refactoring and code transformations.