Fragmented - Android Developer Podcast

066: Let's talk Immutability, Value Types and AutoValue with Ryan Harter

Informações:

Sinopse

In this episode, we talk to our good friend and immutability champ Ryan Harter. We start off talking about the benefits and disadvantages of immutability, then we dive into Value types and the subtle difference with Value types. Finally we close out by talking about AutoValue and how you can extend it using the super nifty auto-value extension system for functionality like Parcelability, Json parsing etc. Show Notes About Ryan Pigment (coloring for adults) Fragment (prismatic photography art) (His blog post on the same) Fragmented: Google IO special (Ryan was one of our guests) References Martin Fowler's updated article on ValueObjects Effective Java Fragments: Ep 14: Consider providing static factory methods instead of constructors Ep 31: Obey the general contract when overriding equals Ep 34: Always Override hashcode when overriding equals Methods Count (check number of methods for a library) AutoValue AutoValue AutoValue Builders AutoValue Factory (different from AutoValue Builders) Difference betw