Hacker News
- Building an interface (even if there's only one implementation) is always right https://vadosware.io/post/building-an-interface-with-one-implementation-is-unquestionably-right/ 61 comments
Lobsters
- Why an interface with only one implementation? http://www.tedinski.com/2018/07/31/interfaces-cutting-dependencies.html 3 comments programming
- Why an interface with only one implementation? https://www.tedinski.com/2018/07/31/interfaces-cutting-dependencies.html 16 comments programming
- No service I'm using in my current project will ever have more than one implementation. Why do I need interfaces? https://www.reddit.com/r/csharp/comments/765ttm/no_service_im_using_in_my_current_project_will/ 58 comments csharp
- Do I need to use an interface when only one class will ever implement it? http://programmers.stackexchange.com/q/159813/25936 208 comments programming
- .NET – Dependency Injection, One Interface and Multiple Implementations https://thecodeblogger.com/2022/09/16/net-dependency-injection-one-interface-and-multiple-implementations/ 9 comments dotnetcore
- Router vendor fails to implement an integer bounds check in their configuration interface; one of their customers accidentally takes down large portions of the Internet with a single routing update. http://www.renesys.com/blog/2009/02/longer-is-not-better.shtml 12 comments programming
- I have an abstract class with no methods or variables that implements an interface with one method. Why don't I get an error when implementing the interface's method in that class? https://www.reddit.com/r/learnprogramming/comments/7vaquk/i_have_an_abstract_class_with_no_methods_or/ 8 comments learnprogramming