
Episode 465: Kevlin Henney and Trisha Gee on 97 Things Every Java Programmer Should Know
Software Engineering Radio - the podcast for professional software developers
00:00
What Is Incapsulation?
Ncapsulation is behaviour as easy, state as heard. When many people think about incalsulation, they just think about a kind of light veneer. What's really going on for incanculation is this idea of how do i use it? How do i want to use it? And there's something much richer that's going on there. Put something in a capsule means there's a boundary. And we want to care about, how do we look at that boundary the interface, and what are we hiding away from people? It's not just my choice of data representation. It's the mechanics, if you like.
Transcript
Play full episode