Immutability to Save an Ever-Changing World - PHP Benelux 2018

Immutability to Save an Ever-Changing World - PHP Benelux 2018

https://conference.phpbenelux.eu/2018/sessions/immutability-to-save-an-ever-changing-world/

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.

Be9645e99392d37fd0e8018f22122fc3?s=128

Andrew Cassell

January 27, 2018
Tweet