Click here to Skip to main content
15,884,237 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: OO Software design epiphany - it might not matter Pin
Chris Boss14-Jan-21 6:08
professionalChris Boss14-Jan-21 6:08 
GeneralRe: OO Software design epiphany - it might not matter Pin
SeattleC++14-Jan-21 6:09
SeattleC++14-Jan-21 6:09 
GeneralRe: OO Software design epiphany - it might not matter Pin
Dale Barnard14-Jan-21 6:18
Dale Barnard14-Jan-21 6:18 
GeneralRe: OO Software design epiphany - it might not matter Pin
sasadler14-Jan-21 7:00
sasadler14-Jan-21 7:00 
GeneralRe: OO Software design epiphany - it might not matter Pin
Paul Gehrman14-Jan-21 17:23
Paul Gehrman14-Jan-21 17:23 
GeneralRe: OO Software design epiphany - it might not matter Pin
Member 289602014-Jan-21 17:24
Member 289602014-Jan-21 17:24 
GeneralRe: OO Software design epiphany - it might not matter Pin
KateAshman15-Jan-21 5:26
KateAshman15-Jan-21 5:26 
GeneralRe: OO Software design epiphany - it might not matter Pin
BotReject18-Jan-21 4:30
BotReject18-Jan-21 4:30 
I can offer encouragement rather than practical advice (since I have no specifics about the problem you are trying to solve). You are absically correct: encapsulation is the most useful feature of OOP and the only feature code needs to be OO. (Many claim that certain languages are OO simply because they support an optional 'object' construct, but unless encapsulation is enforecd, with the option of strong encapsulation, then a language is not OO in my opinion).

Inheritance should only be used very sparingly - it is good for complex frameworks that have to support a multitude of applications, like teh Java framework, but not useful at all in most cases.

As for generics ... I'm still thinking about that one. I would say that generics are about more than code reuse. Do you really want a type as a parameter in your application? Is it really saving hastle to avoid explicit type casts? Who is the end-user of the code and is it more important to detect type errors at compile-time rather than runtime? In the end you have to weigh-up the hastle to you as coder against the hastle to the user!

That probably doesn't help, but it was an interesting query.
GeneralRe: OO Software design epiphany - it might not matter Pin
charlieg22-Jan-21 11:56
charlieg22-Jan-21 11:56 
GeneralRe: OO Software design epiphany - it might not matter Pin
Martin ISDN1-Feb-21 8:18
Martin ISDN1-Feb-21 8:18 
GeneralHorror videos on youtube! Pin
CodeWraith13-Jan-21 4:05
CodeWraith13-Jan-21 4:05 
GeneralRe: Horror videos on youtube! Pin
OriginalGriff13-Jan-21 4:13
mveOriginalGriff13-Jan-21 4:13 
GeneralRe: Horror videos on youtube! Pin
CodeWraith13-Jan-21 4:42
CodeWraith13-Jan-21 4:42 
GeneralRe: Horror videos on youtube! Pin
dandy7213-Jan-21 4:50
dandy7213-Jan-21 4:50 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 4:24
professionalden2k8813-Jan-21 4:24 
GeneralRe: Horror videos on youtube! Pin
CodeWraith13-Jan-21 5:10
CodeWraith13-Jan-21 5:10 
GeneralRe: Horror videos on youtube! Pin
Daniel Pfeffer13-Jan-21 5:28
professionalDaniel Pfeffer13-Jan-21 5:28 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 5:38
professionalden2k8813-Jan-21 5:38 
GeneralRe: Horror videos on youtube! Pin
Kris Lantz13-Jan-21 5:39
professionalKris Lantz13-Jan-21 5:39 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 5:43
professionalden2k8813-Jan-21 5:43 
GeneralLots of voting for December Article of the Month Pin
Greg Utas13-Jan-21 2:50
professionalGreg Utas13-Jan-21 2:50 
GeneralSurveys? Pin
charlieg13-Jan-21 2:29
charlieg13-Jan-21 2:29 
GeneralRe: Surveys? Pin
Marc Clifton13-Jan-21 2:36
mvaMarc Clifton13-Jan-21 2:36 
GeneralRe: Surveys? Pin
Greg Utas13-Jan-21 2:47
professionalGreg Utas13-Jan-21 2:47 
GeneralRe: Surveys? Pin
charlieg13-Jan-21 3:31
charlieg13-Jan-21 3:31 

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.