Click here to Skip to main content
15,891,375 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why .Net Sucks today Pin
U. G. Leander22-Jan-16 3:39
professionalU. G. Leander22-Jan-16 3:39 
GeneralRe: Why .Net Sucks today Pin
#realJSOP22-Jan-16 3:53
mve#realJSOP22-Jan-16 3:53 
GeneralRe: Why .Net Sucks today Pin
User 1013254622-Jan-16 3:34
User 1013254622-Jan-16 3:34 
GeneralRe: Why .Net Sucks today Pin
U. G. Leander22-Jan-16 3:37
professionalU. G. Leander22-Jan-16 3:37 
GeneralRe: Why .Net Sucks today Pin
Sander Rossel22-Jan-16 4:23
professionalSander Rossel22-Jan-16 4:23 
GeneralRe: Why .Net Sucks today Pin
Slacker00722-Jan-16 4:43
professionalSlacker00722-Jan-16 4:43 
GeneralRe: Why .Net Sucks today Pin
#realJSOP22-Jan-16 5:27
mve#realJSOP22-Jan-16 5:27 
GeneralRe: Why .Net Sucks today Pin
Philippe Mori22-Jan-16 6:59
Philippe Mori22-Jan-16 6:59 
1) You can use extension methods.
2) For future maintenance purpose, almost always a better idea to use composition instead of multiple inheritance.
3) If the list is a private member of a class, then the custom method could be added to that class instead.
4) You can also use composition and have a property that returns the list if for example, your class purpose is to build a list.

In practice, you might loose a few minutes now but the application will usually be more maintainable if every class follow the SOLID principle.

When refactoring code, complex hierarchy are much harder to work with...
Philippe Mori

GeneralRe: Why .Net Sucks today Pin
snorkie22-Jan-16 9:06
professionalsnorkie22-Jan-16 9:06 
GeneralRe: Why .Net Sucks today Pin
PIEBALDconsult22-Jan-16 9:09
mvePIEBALDconsult22-Jan-16 9:09 
GeneralRe: Why .Net Sucks today Pin
Camilo Reyes22-Jan-16 12:48
professionalCamilo Reyes22-Jan-16 12:48 
GeneralPartially true... Pin
Dave Kreskowiak22-Jan-16 2:17
mveDave Kreskowiak22-Jan-16 2:17 
GeneralRe: Partially true... Pin
glennPattonWork322-Jan-16 3:29
professionalglennPattonWork322-Jan-16 3:29 
GeneralRe: Partially true... Pin
Ron Anders22-Jan-16 3:40
Ron Anders22-Jan-16 3:40 
GeneralRe: Partially true... Pin
glennPattonWork322-Jan-16 4:27
professionalglennPattonWork322-Jan-16 4:27 
GeneralRe: Partially true... Pin
Dave Kreskowiak22-Jan-16 13:13
mveDave Kreskowiak22-Jan-16 13:13 
GeneralThought of The Day - Especially for Griff Pin
PompeyThree22-Jan-16 2:14
PompeyThree22-Jan-16 2:14 
GeneralRe: Thought of The Day - Especially for Griff Pin
OriginalGriff22-Jan-16 2:25
mveOriginalGriff22-Jan-16 2:25 
GeneralRe: Thought of The Day - Especially for Griff Pin
Jörgen Andersson22-Jan-16 2:38
professionalJörgen Andersson22-Jan-16 2:38 
GeneralRe: Thought of The Day - Especially for Griff Pin
Cornelius Henning22-Jan-16 5:36
professionalCornelius Henning22-Jan-16 5:36 
GeneralRe: Thought of The Day - Especially for Griff Pin
OriginalGriff22-Jan-16 5:52
mveOriginalGriff22-Jan-16 5:52 
GeneralRe: Thought of The Day - Especially for Griff Pin
den2k8822-Jan-16 2:38
professionalden2k8822-Jan-16 2:38 
GeneralRe: Thought of The Day - Especially for Griff Pin
OriginalGriff22-Jan-16 2:42
mveOriginalGriff22-Jan-16 2:42 
GeneralRe: Thought of The Day - Especially for Griff Pin
W Balboos, GHB22-Jan-16 2:54
W Balboos, GHB22-Jan-16 2:54 
GeneralRe: Thought of The Day - Especially for Griff Pin
chriselst22-Jan-16 2:55
professionalchriselst22-Jan-16 2:55 

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.