Take Up Code
Take Up Code
Take Up Code: build your own computer games, apps, and robotics with podcasts and live classes
23: Access Control. Employees Only.
11 minutes Posted Dec 20, 2015 at 10:50 pm.
0:00
11:02
Download MP3
Show notes
When defining what data and methods belong to a class, you also get to set accessibility levels so that some things are available for general use while other members are more restricted. Why not just make everything available? Then you do not have to worry about it, right? Learning proper access control will help you write code that is actually easier to understand and easier to use. This episode will explain why.