Refactor to Changeable Code

Workshop
Fri 10:45 - 12:05
You need a laptop
Electra 2
Design

Summary

The pressure on developers to release faster has been growing incessantly in the past years. The widespread adoption of agile and lean software development is the first answer to this business need.

What about the code? How can you structure it so that it’s easy to change it fast, especially when the changes cannot be predicted?

Join this workshop to learn how to obtain changeable design by using two design principles: the Single Responsibility Principle and the Open Closed Principle. We will write code!

Who is it for?

AlbertArchitect
 
CarolCTO
 
ChrisCraftsman
Programmer
CristinaTechnical
Co-Founder
DianaDevOps
 
MeganManager
 
TamaraTeam
Leader
TudorTechnical
Consultant

 

Audience Learnings

  • Single Responsibility Principle (SRP)
  • What is a responsibility?
  • Open Closed Principle (OCP)
  • Separating core behavior from details
  • Using SRP and OCP to refactor code so that it’s easier to change

Structure

Core concepts
Introduction to Single Responsibility Principle
Introduction to Open Closed Principle
Refactor code with a pairing partner to practice the two design principles in the context of unexpected changes
Debriefing
Closing

Prerequisites

You should be interested in how to write code that is easy to change.
We will use Java for this workshop. It’s enough to be able to read Java code because you will pair with someone who knows it.
You will also need a laptop with a working development environment, maven and git.

Leave a Reply

Your email address will not be published.

*