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
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.
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...
Java Access Control
Effective Java Book
@fragmentedcast [twitter.com]
@donnfelker [twitter.com]
@kaushikgopal [twitter.com]