Talk details

In schedule:
Green stage
May 29, 16:00 - 17:40 CET
Refactoring from Objects to Functions
Topics:
code quality
design
domain model
programming
refactoring
software architecture
software development
technical debt
technical debt management
hands-on
Level: General

From mutable objects, to immutable values, to unrepresentable illegal states.

Object-Oriented Programming and Functional Programming are not irreconcilable paradigms. Modern languages support both styles: you can choose when to model with mutable objects or with immutable data and functions.

Live on stage, Nat and Duncan will transform an application from using objects with mutable state to using immutable data, algebraic data types and functions. They will demonstrate techniques they have learned to perform such transformations in small refactoring steps that never leave code broken for more than a few seconds, and allow refactoring steps to be safely shared with the rest of the team without disrupting work in progress.

Speakers
Craft 2025 - Duncan McGregor
Duncan McGregor
Just zis guy at Harlequin Computer Solutions Ltd

Duncan was a professional software developer for over 30 years, but is now trying to be retired. He was lucky enough to be an early adopter of Object Oriented programming, which was the gateway drug to patterns and Extreme Programming. He coauthored Java to Kotlin: A Refactoring Guidebook, is a Google Developer Expert, and publishes a weekly YouTube video on Kotlin....

Craft 2025 - Nat Pryce
Nat Pryce
Consulting Developer at Technemetis Ltd.

Nat Pryce is co-author of Java to Kotlin: A Refactoring Guidebook and Growing Object-Oriented Software Guided by Tests....