073: Effective Java - Item #14
Fragmented - An Android Developer Podcast
English - February 13, 2017 05:00 - 12 minutes - 11.2 MB - ★★★★★ - 53 ratingsTechnology Education How To android developer java androiddev kotlin Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: 072: App Shortcuts with Andrew Orobator
Next Episode: 074: Ben Oberkfell talks Fingerprint API
In this mini-Fragment episode, Donn talks about Item #14 of the Effective Java series - In public classes, use accessor methods, not public fields. You'll learn why it's important to use accessors in your public classes and some caveats to this rule.
For example, you may decide that the class is a private inner class or package private. Donn digs into the details in this week's episode. This is a glimpse of what's to come in Item #15, which is coming soon...
Show Notes
Java Access Control
Effective Java Book
Sponsor
Contact
@fragmentedcast [twitter.com]
@donnfelker [twitter.com]
@kaushikgopal [twitter.com]