Interfaces Describe WHAT Implementations Describe HOW
Hey everyone, I'm Steve Smith aka ardalis, of NimblePros!
In this short video I explain a simple way to think about interfaces and their implementations. Specifically, you should design your interfaces so that they (only) describe WHAT they do from the perspective of calling code. Then, when you implement the interface, you choose HOW to do so, including all of the low level details that may be needed. Avoid letting the HOW leak into your interface definition and you'll have a much better time!
Links
ardalis.com/in...
Check out my courses:
dometrain.com/...
dometrain.com/...
dometrain.com/...
ardalis.com/tr...
www.pluralsigh...
Team Consulting and Training: NimblePros.com and @nimblepros
Developer Group Mentoring: devBetter.com
Free Weekly Email Tips:
ardalis.com/tips/
If you read this far, I hope you liked this video and will consider subscribing to my channel! Or if you already subscribe, how about adding @NimblePros ?
Find me:
ardalis.com
/ ardalis
github.com/ard...
/ stevenandrewsmith
bsky.app/profi...
#ardalis #stevesmith #dotnet #csharp #programming #interfaces #abstractions #implementations #nimblepros
Негізгі бет Interfaces: WHAT - Implementations: HOW
Пікірлер: 8