Hey there!
Here's what's in this email:
- OOP Best Practices course 100% published on the Standard plan.
- Last spots for the 2nd edition of the AI Workshop.
Estimated reading time: 2 minutes.
🪂 OOP Best Practices Course
We've just published the final part of the course on the Standard plan.
One of the most common diseases in programming is Interface-itis: Every Class must have its own interface. And every person who has ever written code has caught it.
Interface-itis gives us a false sense of control and the feeling that we're building good Software Architecture, but that's not the case.
An interface is a way to apply Polymorphism, but at the same time, it adds a new level of indirection, which makes the code harder to maintain.
Before creating an interface, we should ask ourselves a few questions:
- ⌨️ Who is going to be the client of this interface?
- ✨ Who is going to use those implementations?
- 👀 Could there be more than one implementation?
Adding an interface to something should be the exception, not the rule.
In the course, we've prepared a decision tree to make the rule easier to follow. 😊
✨ Last spots for the second edition of the AI Workshop
We want to thank you once again. Initially we had planned to do only one edition, but seeing the interest we opened this second one. And now only the last few spots remain. Thank you so much for all the support. 😊
See you around!