Fragmented - Android Developer Podcast

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


Listen Later

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 between Builder and Factory patterns [stackoverflow.com]
        • AutoValue extensions
          • Ryan's blog post
          • AutoValue Parcel [github.com/rharter]
          • AutoValue Cursor [github.com/gabrielittner]
          • AutoValue Redacted [github.com/square]
          • AutoValue Moshi [github.com/rharter]
          • AutoValue Gson [github.com/rharter]
          • AutoValue Firebase [github.com/mattlogan]
          • Misc
            • Project Lombok
            • Google's Auto Libraries (code generating helpers)
            • Ryan's Blog
            • Ryan's Caster.io series [caster.io]
            • Chicago Roboto 2017
            • Contact
              • @rharter [twitter.com]
              • @fragmentedcast [twitter.com]
              • @donnfelker and +DonnFelker
              • @kaushikgopal and +KaushikGopalIsMe
              • ...more
                View all episodesView all episodes
                Download on the App Store

                Fragmented - Android Developer PodcastBy Donn Felker, Kaushik Gopal

                • 5
                • 5
                • 5
                • 5
                • 5

                5

                68 ratings


                More shows like Fragmented - Android Developer Podcast

                View all
                Design Details by Brian Lovin, Marshall Bock

                Design Details

                361 Listeners

                Developer Tea by Jonathan Cutrell

                Developer Tea

                402 Listeners

                Does Not Compute by Sean Washington, Rockwell Schrock

                Does Not Compute

                53 Listeners

                Toolsday by Una Kravets, Chris Dhanaraj

                Toolsday

                48 Listeners

                Swift Unwrapped by JP Simard, Jesse Squires, Spec Network, Inc.

                Swift Unwrapped

                90 Listeners