Llewellyn Falco

Agile Technical Coach at Spun Labs

Talk

Patterns: Many of 1
Friday 18:15 - 19:00
Topics:
Softwarecrafters
Refactoring, Design Patterns
Level:
Intermediate

Your rating:
0/5

Patterns:

My first car was a geo metro. I used to notice them everywhere. I still see a few of them on the road today. Why? Our brains discard the vast majority of information that they receive (the other types of cars) before it gets to your conscious brain, but you can train it to recognize patterns(my first car) and then it is extremely good at seeing them.
Maybe you also tend to notice your first and current car on the road today? Once they are in your conscious brain you can evaluate them to see if they are useful in the given context.
This session is to help us see a new pattern:

Many of 1.

There exists a number between 1 and 2, ‘Many of 1’.
This pattern is extremely useful in refactoring and API design for both backwards compatibility and future enhancement options. We are going to look at this and do some exercises to practice it in the context of:
  • Refactoring
  • Arrays
  • Var args
  • Optional Parameters
  • Hashmaps
  • Container Objects
  • Service containers

Check the slides

Workshop

Refactoring to Cleaner Code
May 31, June 1 (14:30-18:00 CEST) -
Topics:
C#
C Sharp
Refactoring
Legacy Code
Micro Commits
Emergent Design
Open Closed Principle
Software development
code craft
Mob programming
Level:
Intermediate
Your rating:
0/5

Often we find ourselves working with code where the functions are too long, the coding standards are inconsistent, comments are missing or out of date, and the tests are incomplete. Let’s learn how to handle that situation better.

In this hands-on class we’ll take a long, confusing method and show you multiple techniques to refactor it to clean, concise, understandable, and testable code. Commonly this is done by carefully architecting a better solution and then undertaking a rewrite of the code. That’s not what we’re going to do here. Instead, we’ll discover a better solution through a series of small, safe steps that allow you to improve the code even when you only have a little time to spend on it.
Learn to:

  • Provable refactorings
  • Extract Paragraphs
  • Naming as a process
  • Git Commit Notation
  • Extract to Classes
  • Conform to interfaces
  • Extract Interface
  • Many of 1
  • Strategy pattern
  • Factory pattern

About

Llewellyn Falco is an independent agile coach. He discovered strong-style pair programming. He is creator of the open source testing tool ApprovalTests( www.approvaltests.com ). He spends most of his time programming in Java and C# specializing in improving legacy code.He is the co-founder of TeachingKidsProgramming.org & co-author of Mob Programming Guidebook

If you would like to get a sample of him, check out his Practical Refactoring talk ( https://youtu.be/aWiwDdx_rdo )