Coding Blocks cover image

I is for Interface

Coding Blocks

00:00

Is There a Relationship Between New York Pizza Factory and Chicago Pizza Factory?

When you're talking about anonymous class, you're actually talking about just returning an object that you're defining in a Lambda or something like that. But I can't do that directly. I've actually got to create a real class to return it because I can't tell C sharp that this anonymous object I'm creating has the same methods as I logable. There's no way for me to associate those. So pretty much you get around that though. You create private classes within your code. No more interfaces. It's all turtles, man. And some people hate the patterns and yeah.

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