Timeline for Should utility base classes be avoided
Current License: CC BY-SA 3.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 16, 2014 at 4:58 | history | tweeted | twitter.com/#!/StackProgrammer/status/445061543638859776 | ||
| Mar 14, 2014 at 9:20 | vote | accept | Robbie Dee | ||
| Mar 14, 2014 at 9:19 | comment | added | Doc Brown | @RobbieDee: since your question was reopened, I converted my comment into an answer. | |
| Mar 14, 2014 at 9:13 | answer | added | Doc Brown | timeline score: 15 | |
| Mar 14, 2014 at 9:05 | comment | added | Robbie Dee | @DocBrown Good point - since WCF is always going to be wrapped in something, this would be a much better way. | |
| Mar 14, 2014 at 8:27 | history | reopened | CommunityBot Doc Brown ChrisF | ||
| Mar 13, 2014 at 22:42 | review | Reopen votes | |||
| Mar 14, 2014 at 8:27 | |||||
| Mar 13, 2014 at 22:26 | comment | added | Robbie Dee | OK, I've added an example by way of clarification | |
| Mar 13, 2014 at 22:26 | history | edited | Robbie Dee | CC BY-SA 3.0 | added 1763 characters in body; edited title |
| Mar 13, 2014 at 20:45 | history | closed | Bobson Doc Brown user16764 Bart van Ingen Schenau DougM | Needs details or clarity | |
| Mar 13, 2014 at 19:50 | comment | added | Magus | @RobbieDee: It very much depends on what you're doing. Just because you're designing a breed of Horse with green fur does not mean it should inherit from Tree. Both might have LeafGreenBrushs, though. You have to be very careful deciding what gets inherited. Think carefully about whether something really needs to inherit from a second parent. If the class is well designed and does one thing, it probably doesn't need to. | |
| Mar 13, 2014 at 19:12 | comment | added | Robbie Dee | I guess what bugs me is the case where I need to inherit a class and there is already a base class. I have to then create a parent to inherit the original base. This seems like cruft to me. Just wondering if given the opportunity whether you should always prefer an interface if you're writing the initial code. | |
| Mar 13, 2014 at 17:31 | review | Close votes | |||
| Mar 13, 2014 at 20:45 | |||||
| Mar 13, 2014 at 17:14 | comment | added | Bobson | Writing base classes is what polymorphism is all about. | |
| Mar 13, 2014 at 16:51 | answer | added | Doval | timeline score: 1 | |
| Mar 13, 2014 at 16:48 | history | edited | Robbie Dee | CC BY-SA 3.0 | edited title |
| Mar 13, 2014 at 16:45 | answer | added | cbojar | timeline score: 0 | |
| Mar 13, 2014 at 16:45 | comment | added | Telastyn | Umm, what? This isn't very clear. | |
| Mar 13, 2014 at 16:30 | history | asked | Robbie Dee | CC BY-SA 3.0 |