Coding Blocks cover image

I is for Interface

Coding Blocks

00:00

The Way That Joe's Code Works Is That It Provides You Back via the Interface Access to the Methods That Are Private in the Class

The way that he goes about using this and enforcing this type of interface is he'll have internal classes that do a lot of work. His his interfaces that he returns back are the declarations that that basically segregate what the real logic is from what you're allowed to accessYeah I think that's a big deal when it comes to third party libraries like if you're writing interface to a rest API and you want to implement all those fields because they're there you can change them but you don't always want to, doesn't make sense.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app