Skip to content

Details

๐Ÿšจ Format Update!

For this session, please read Introduce Polymorphic Creation with Factory Method from Joshua Kerievsky's book Refactoring to Patterns (http://bit.ly/RF2P-jk)

Based on the feedback we received from the last session we're going to be running this one as a more hands-on practical session. We'll have the usual short talk with slides and the speaker demonstrating the refactoring but we'll also have code samples in the following languages:

๐Ÿ‘“ C#
โ˜• JavaScript
๐Ÿ Python

After the intro, we can get into groups/pairs or work solo, whatever people feel most comfortable with, and explore the refactoring. Please bring a machine if you'd like to code along and for maximum enjoyment, we'd recommend you have the following tools / IDEs installed due to their refactoring tooling:

C# - Rider or Visual Studio with ReSharper
JavaScript - WebStorm
Python - PyCharm

Note that all JetBrains tools have free 30 day evaluation periods or free community editions.

And if you want to work in a language that we don't provide example code for that's cool too!

---

The plan is to meet fortnightly to discuss and improve our understanding of design patterns. Initially, we followed the 23-week guide covering the Gang of Four Design Patterns laid out by Joshua Kerievsky, now that is completed we are working through the Study Guide on the back page of Refactoring to Patterns by Joshua Kerievsky.

The idea is that all attendees learn the refactoring before the group meet, then during the meeting, they consider various questions about it and work on some code examples. In doing so we'll benefit from the wisdom of the crowd and hopefully improve our understanding. We'll be following along to the Refactoring to Patterns book so make sure to familiarise yourself with the section for the refactoring, you can grab a copy of it here: http://bit.ly/RF2P-jk

In this session we'll be looking at: Introduce Polymorphic Creation with Factory Method (88). We'll review the refactorings as a group then open the discussion up with a few questions.

After this, we can take some time to break out into groups/pairs to explore the refactorings further. Finally, we'll wrap up with a retro to discuss any interesting points the group would like to explore further.

Please note an in-depth knowledge of patterns and refactoring isn't required and all skill levels are welcome! A diverse range of perspectives is encouraged, however, we'd recommend that attendees have studied the refactoring and any associated patterns that'll be discussed that week.

Food and drink will be provided. ๐Ÿ™Œ

Accessibility

The building we're in for this event, unfortunately, doesn't have disabled access. Please let us know if this will be an issue for you. We're working to find a more suitable venue for future events.

Related topics

You may also like