Immutability to Save an Ever-Changing World

Andrew Cassell (09.Feb.2019 at 16:00, 1 hr )
Talk at SunshinePHP 2019 (English - US)

Rating: 3 of 5

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.

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= two plus four


Rating: 5 of 5

11.Feb.2019 at 10:46 by Jarret Minkler (5 comments) via Web2 LIVE

Best talk of the conference!

Rating: 1 of 5

12.Feb.2019 at 00:00 by Viktor Espina (1 comments) via Web2 LIVE

All of the PHP in this talk was excellent. But there was only 10-15 minutes worth of PHP and the other 45 minutes was beer brewing. This should have been a lightning talk with the beer removed.

Rating: 4 of 5

19.Feb.2019 at 18:04 by Jeremy Mikola (85 comments) via Web2 LIVE

The content had a logical progression and sticking to a theme (homebrewing in this case) made it easier to follow along from introductory to more complete examples closer to the end of the talk. There wasn't much as much discussion about functional programming as one might have expected from the abstract. That's not unexpected given that this was a PHP talk, but it did work against a climatic conclusion.

© 2019