Refactoring videos

Ever wondered what refactoring code looks like? We have a video series where we screen share refactoring of JaggedVerge community members code. If you are interested in having your own code improved on this series get involved in the community here and check out our Patreon page. We have a YouTube channel with our videos, if this looks like it suits your project (or someone else you know) don’t hesitate to get in contact with us!

If your code needs to be be refactored or re-engineered privately this is a service we offer, please contact us to discuss details.

Here’s some of our videos:

  • Refactoring: Heuristics library episode 2 – Separation of concerns In this video we discuss the separation of concerns and apply that to improving some of the code: https://youtu.be/Vgre6Db8ci0 Summary Discussed the separation of concerns concept Improved code with this in mind Set up an upstream repository and updated the fork of the repo to get new upstream changes Made a PR with the changes in this episode: https://github.com/billy164/AAH/pull/4 If you have ...
  • Refactoring: Heuristics library episode 1 – introduction We have a whole new refactoring series thanks to a library Billy has asked us to improve: https://www.youtube.com/watch?v=WxYfIveZSgw&list=PL48-GQeieDgqdX4Rwrc7xs0gtRmngHzf4&index=1 Summary Here’s what happened in this video: First look at code Fixed mutable default parameter Set up Tox for testing Required writing a setup.py file Set up TravisCI for continuous integration Set up Coveralls for test coverage reports Created PR with changes made in this video: https://github.com/billy164/AAH/pull/1 The ...
  • Refactoring: Python server script episode 3 – modules https://youtu.be/2bHHfMOc_i8?list=PL48-GQeieDgr91XuAbNyopsyfXHC9HBp8 Summary Introduced modules Started cleaning up various global variables Removed “magic numbers” and replaced with named variables Links: Modules tutorial for Python 2 Modules tutorial for Python 3 David Beazley’s PyCon 2015 talk on modules  
  • Refactoring: Python server script episode 2 – environment setup https://youtu.be/SPpoCKgdABE?list=PL48-GQeieDgr91XuAbNyopsyfXHC9HBp8 Summary Here’s a quick summary of what happened in the video: Set up a virtual environment for packages Updated PIP pip install --upgrade pip Installed packages then stored those packages in requirements.txt Ran into hard-coded platform specific paths that stopped script from running Dealt with exceptions that caught everything Try with no except: In this episode we ran into some code that had ...
  • Refactoring: Python server script episode 1 – intro https://youtu.be/O6dAGBFpFCo?list=PL48-GQeieDgr91XuAbNyopsyfXHC9HBp8 Summary The first video in the Python Server refactor series where we discuss the project and get started with the preliminary tasks. Heres what we did: Looked at architecture and other project information Got project into version control, set up Git repository Dealt with line endings issue Deal with trailing whitespace issue (see links) Initial assessment of the code Found global scope code ...