Want to build software that is more testable, easier to modify, and has fewer lines of code? Architecture with more immutable objects that are always in a valid state is the most important lesson I have learned in building better software applications. Using immutable value objects will lead to less checking, fewer bugs, and more DRY code, and will help avoid the "spooky action at a distance" problem in PHP. We will also learn how to use immutable objects and immutable collections to improve design of our mutable entities. Lastly, we'll see how our immutable modeling approach can drastically reduce the complexity of things in our systems that are mutable.

Comments

Please login to leave a comment

Great talk with actionable examples. Great speaker.

Chris Jones at 11:01 on 21 May 2025

It built quite nicely onto the PHP value object talk

Andrew Woods at 17:04 on 21 May 2025

Andrew has great content. I like how he uses his interest in beer to discuss immutability. His slides used dark mode for the code snippets which I don't mind. However, the low contrast with the background make the code slides hard to read.

Bill Tressler at 17:21 on 21 May 2025

Andy is a terrific presenter. Did the workshop last year and learned so much about DDD. This year’s talk helped clear up some issues with value object implementation. I highly recommend any talk that he gives!