Back to the Learning

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

Refactoring in the Real World

Episode 19 Run Time 22:18

Today, I'm working on an old package of mine that converts PHP variables to the proper JavaScript syntax. There are a number of refactorings we can perform to clean up the codebase a good bit. Why don't you come along, and we'll work through the codebase together? We'll focus on naming, class extraction, and general readability.

Publish Date: September 1, 2017