063: Effective Java for Android Developers – Item #13: Minimize the accessibility of classes and members

In this mini-Fragment episode, Donn talks about Item #13 of the Effective Java series – Minimize the accessibility of classes and members. You’ll learn why it’s important to limit the access on your public API, how it can help you with development and performance. You’ll also learn how changing a public API can affect the consumers of your API, for good and bad.

Download directly

Show Notes

Sponsor

Contact

Transcript

Donn Felker: Today, I’m going to talk about Item #13 from Effective Java, by Joshua Bloch. For those of you who are just joining us, Kaushik and I are covering all of the items inside this book in relation to how they apply to Android developers. We’ve already gone through the first 12, so I’ll be talking about #13: Minimize the accessibility of classes and members.

Joshua puts this very well right out of the gate, so I’m going to read this verbatim:

Continue reading 063: Effective Java for Android Developers – Item #13: Minimize the accessibility of classes and members

062: Effective Java for Android Developers – Item #12: Consider Implementing Comparable

In this mini-Fragment episode, Donn talks about Item #12 of the Effective Java series – Consider Implementing Comparable. You’ll learn about how you can use the Comparable interface to give your code the extra sorting boost it needs. Work with Arrays.sort(), Collections utilities and even sorted data structures. Donn breaks down what it takes to implement the compareTo method of the Comparable interface.

Download directly

Show Notes

Sponsor

Contact

046: okJesse – A deep discussion on okHttp, okio and Retrofit

Everyone loves Retrofit & okHttp. But how did they come about? Why ok? What was the need for such libraries? We went knocking on the doors of Square trying to find the answers to these question. We were lucky cause we found probably the nicest most brilliant Android/Java developer of our times – our good friend Jesse Wilson and without surprise, he crushes it!

He gives us the scoop on the origin stories of these amazing libraries and also gives us insight into okio and why it’s such a game changer today.

Direct Download

Show Notes

Okio

Retrofit github throwback

Moshi

Sponsors

Contact

044 – Effective Java for Android Developers – Item #10

In this mini-Fragment, Donn talks about Item #10 of the Effective Java series – Always Override toString. You’ll learn why it’s important for your own sanity, future developers, and overall developer happiness.

This episode is sponsored by Hired.com.

Download directly

Show Notes

Sponsor

Contact

041: YAGNI

In this mini Fragment, Donn talks about one of his favorite topics, YAGNI. YAGNI is an acronym that stands for “You Aren’t Gonna Need It”. Donn explains what it is, why its useful and shares a personal story of how he was introduced to the YAGNI concept back in 2008.

Direct Download

Show Notes

Sponsor

  • Caster.IO Use the coupon code “fragmented” to receive 15% off any monthly subscription.

Contact