Fragmented - Android Developer Podcast

022: Effective Java for Android developers : Item 5


Listen Later

In this mini Fragment, we introduce Joshua's fifth Item: Avoid creating unnecessary objects.

Stay tuned for more items from our "Effective Java for Android developers" Fragment series.

Show Notes
  • Effective Java (2nd Edition) - Joshua Bloch
  • Avoid creating unnecessary objects

    • Google says - Avoiding creating unnecessary objects too
    • Episode 10 with Michael Bailey - String optimization
    • Snippet to demonstrate AutoBoxing problems
      // sum of all positive values
      Long sum = 0L;
      for (long i=0; i Integer.MAX_VALUE; i++) {
      sum+=i;
      }
      Contact:
      • @fragmentedcast [twitter.com]
      • @donnfelker [twitter.com]
      • @kaushikgopal [twitter.com]
      • ...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