CTRL+CLICK CAST: Code Refactoring with Jina Bolton
The nature of the web is constant change, and your code base should be no different. But updating your code shouldn’t be a one-time endeavor, and it shouldn’t be an all-or-nothing proposition. Instead, you should refactor iteratively as you need, whether it is to fix a bug or update a CSS vendor prefix.
For the latest CTRL+CLICK, Jina Bolton joins the show to discuss this process of refactoring, which involves iterative, narrow updates to the code base, without changing features or functionality. She shares her approach to refactoring by starting with the smallest element and keeping focused on a single change. She also suggests what areas can be commonly refactored, such as introducing a CSS preprocessor and establishing variables for CSS colors and typography. Jina also details her refactoring workflows, including using version control, documentation and supporting a “living” style guide.
We also comment on the paid support discussion going on in the Devot-ee forums. Tune in now!
Thanks to Hover for sponsoring this episode!