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, more DRY code, and 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.

Brilliant! Not only informative, not only very useful in terms of perspective it gives on the usage of immutable objects, but also very entertaining!

Al Bunch at 15:38 on 21 Apr 2018

5 thumbs up! Gave a new/improved perspective on value objects as well as how the way the speaker implements/uses them can significantly reduce the amount of testing needed among other benefits.

Holy cow! At first I thought to my "no way" but halfway through the talk he had me convinced. Probably one of if not the best talk in my book!