Advent of refactoring

I made a video series!

The “Advent of Refactoring”

going through a whole bunch of code refactoring concepts, focussing on web development in Django/Wordpress.

  1. Renaming Things
  2. Extract Variable
  3. Extracting Functions
  4. Extract (class) methods
  5. Converting a function to a method class
  6. Moving things around
  7. Guard Clauses
  8. Composition & Inheritance
  9. Data to JS
  10. Generators & Separating concerns
  11. Positional to Named arguments
  12. Extracting blobs of text (SQL, HTML, etc)
  13. Functions that create functions (closures)
  14. callbacks into functions
  15. try catch
  16. wrapper functions
  17. python decorators & context managers
  18. (django) QuerySets & Model property methods
  19. Building data attrs in the database
  20. Building complex class heirarchies
  21. Lookup tables replacing if chains
  22. Taking advantage of polymorphism
  23. Using validation libraries
  24. Using dataclasses for cleaner data access

A Few Video productions

I’ve been doing a bunch of media production recently, Some work as cameraman, some as producer, some as editor.

Here’s a few links!

Albania

I was the director and producer of this and a couple other pieces. Myself and two cameramen travelled in 3 cities in Albania, meeting the OM team there, interviewing them, and finding out a lot of what they’re up to.

The night show

Currently still unreleased, “almost done”, I was the 3D set design and animator, did all the 3D compositing, and helped with a lot of the 2D compositing and editing. I also did the sound recording and initial scratch mix for the puppeteers.

OM 50 years in Poland - an unusual history

I worked as senior editor on this project, helping Moray to bring together many different interviews into a single history presentation.

Live puppets in a 3D Universe

I had the enormous privilage to speak at the Blender Conference in Amsterdam!

I was talking about the latest large project I’ve been working on together with a team from Ireland, building a full virtual 3D set for a “late night” comedy show for puppets, going through the christmas message.

It was great fun, a lot of work, and a really cool project to be part of.

Some of the 3D stuff was pretty complex to work on, and so it was interesting to show off some of how we were doing the compositing and working with the puppets and greenscreens & everything.

Matt's Blog

Euan, Ant and I just finished releasing “Matt’s Blog” over lent/easter this year.

It was a really fun project, dramatising what we think it could have been like for Matthew, Jesus’ disciple, if he was a video blogger.

Here’s the videos!

  1. Cafe Eavesdropping
  2. A change of Scenery
  3. Story Shennanigans
  4. Something’s a bit fishy..
  5. The gravity of the situation
  6. My worst nightmare!
  7. Back in the Big Time
  8. The End of EVERYTHING
  9. Big Nights and Big Fights
  10. When the world comes crashing down
  11. Pain
  12. Everything’s Changed
  13. Not an Ending, but a beginning