Want to build software that is more testable, easier to modify, and has fewer lines of code? Architecting 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 immutable objects and functional programming can reduce complexity.

Comments

Comments are closed.

Brian Johnson at 17:11 on 16 Oct 2018

Very engaging talk. Presented some fundamental programming concepts in an approachable way.

Julian at 19:18 on 16 Oct 2018

Very well put together and presented. I couldn't change a thing (see what I did there?).

Summer Wilson at 23:11 on 16 Oct 2018

A fascinating concept, but would have liked to see an example with a more real world applicability in a larger application, for example entities with 2 dozen properties. So would have liked more discussion of use cases and when it would, and would not, benefit considering the use of immutable objects.