Click here to Skip to main content
15,892,005 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
Richard MacCutchan15-Jan-15 2:29
mveRichard MacCutchan15-Jan-15 2:29 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
popchecker15-Jan-15 2:44
popchecker15-Jan-15 2:44 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
Richard MacCutchan15-Jan-15 3:03
mveRichard MacCutchan15-Jan-15 3:03 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
popchecker15-Jan-15 3:54
popchecker15-Jan-15 3:54 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
Pete O'Hanlon15-Jan-15 5:35
mvePete O'Hanlon15-Jan-15 5:35 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
popchecker15-Jan-15 17:08
popchecker15-Jan-15 17:08 
AnswerRe: 'Interface' Considered Harmful : Uncle Bob Pin
Keld Ølykke5-Mar-15 3:53
Keld Ølykke5-Mar-15 3:53 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
TheGreatAndPowerfulOz23-Jun-15 10:15
TheGreatAndPowerfulOz23-Jun-15 10:15 
Keld Ølykke wrote:
No, C++ doesn't
I think it does. Why do you say it doesn't?
Keld Ølykke wrote:
class hierarchy is however implementation - not specification
Agreed. Hence, I don't think interfaces are "harmful", but what Uncle Bob was really complaining about is not being able to have multiple base classes.

However, I think true separation of concerns would use neither DI nor inheritance to do his observer pattern but rather a separate "observer manager" class that does both the observing and registration/deregistration.
#SupportHeForShe
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
Keld Ølykke23-Jun-15 13:52
Keld Ølykke23-Jun-15 13:52 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
TheGreatAndPowerfulOz23-Jun-15 13:57
TheGreatAndPowerfulOz23-Jun-15 13:57 
GeneralRe: 'Interface' Considered Harmful : Uncle Bob Pin
Keld Ølykke23-Jun-15 14:07
Keld Ølykke23-Jun-15 14:07 
Suggestionlogical Pin
Member 113586967-Jan-15 22:42
Member 113586967-Jan-15 22:42 
GeneralRe: logical Pin
Richard MacCutchan7-Jan-15 22:53
mveRichard MacCutchan7-Jan-15 22:53 
QuestionSOLID Open/Close principles in Python Pin
Khamidulla6-Jan-15 3:14
Khamidulla6-Jan-15 3:14 
AnswerRe: SOLID Open/Close principles in Python Pin
Eddy Vluggen8-Jan-15 0:28
professionalEddy Vluggen8-Jan-15 0:28 
AnswerRe: SOLID Open/Close principles in Python Pin
Richard MacCutchan8-Jan-15 0:58
mveRichard MacCutchan8-Jan-15 0:58 
AnswerRe: SOLID Open/Close principles in Python Pin
Richard MacCutchan9-Jan-15 4:31
mveRichard MacCutchan9-Jan-15 4:31 
QuestionHow can i explain this to our programmers? Pin
Member 1133122523-Dec-14 5:10
Member 1133122523-Dec-14 5:10 
AnswerRe: How can i explain this to our programmers? Pin
Eddy Vluggen23-Dec-14 7:54
professionalEddy Vluggen23-Dec-14 7:54 
AnswerRe: How can i explain this to our programmers? Pin
Dominic Burford30-Dec-14 5:38
professionalDominic Burford30-Dec-14 5:38 
AnswerRe: How can i explain this to our programmers? Pin
jschell30-Dec-14 11:10
jschell30-Dec-14 11:10 
QuestionA good pattern for complex search criteria? Pin
Member 1132553220-Dec-14 14:05
Member 1132553220-Dec-14 14:05 
AnswerRe: A good pattern for complex search criteria? Pin
Garth J Lancaster20-Dec-14 14:28
professionalGarth J Lancaster20-Dec-14 14:28 
AnswerRe: A good pattern for complex search criteria? Pin
Eddy Vluggen23-Dec-14 8:03
professionalEddy Vluggen23-Dec-14 8:03 
QuestionA server to communicate with a robot Pin
cocoonwls17-Dec-14 6:26
cocoonwls17-Dec-14 6:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.