Click here to Skip to main content
15,916,702 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Localization - market possibilities vs. custom tool Pin
hoernchenmeister21-May-12 5:03
hoernchenmeister21-May-12 5:03 
AnswerRe: Localization - market possibilities vs. custom tool Pin
Eddy Vluggen21-May-12 4:59
professionalEddy Vluggen21-May-12 4:59 
GeneralRe: Localization - market possibilities vs. custom tool Pin
hoernchenmeister21-May-12 5:11
hoernchenmeister21-May-12 5:11 
GeneralRe: Localization - market possibilities vs. custom tool Pin
Eddy Vluggen21-May-12 6:54
professionalEddy Vluggen21-May-12 6:54 
GeneralRe: Localization - market possibilities vs. custom tool Pin
hoernchenmeister21-May-12 21:11
hoernchenmeister21-May-12 21:11 
GeneralRe: Localization - market possibilities vs. custom tool Pin
Eddy Vluggen22-May-12 0:48
professionalEddy Vluggen22-May-12 0:48 
AnswerRe: Localization - market possibilities vs. custom tool Pin
Bernhard Hiller22-May-12 3:18
Bernhard Hiller22-May-12 3:18 
GeneralRe: Localization - market possibilities vs. custom tool Pin
hoernchenmeister22-May-12 4:32
hoernchenmeister22-May-12 4:32 
QuestionHandling errors - What is a good balance? Pin
Troy.compdr17-May-12 7:50
Troy.compdr17-May-12 7:50 
AnswerRe: Handling errors - What is a good balance? Pin
jschell17-May-12 11:16
jschell17-May-12 11:16 
AnswerRe: Handling errors - What is a good balance? Pin
Luc Pattyn17-May-12 12:20
sitebuilderLuc Pattyn17-May-12 12:20 
AnswerRe: Handling errors - What is a good balance? Pin
RobCroll18-May-12 2:48
RobCroll18-May-12 2:48 
AnswerRe: Handling errors - What is a good balance? Pin
Ron Beyer24-May-12 17:40
professionalRon Beyer24-May-12 17:40 
QuestionSimple composition - Your thoughts? Pin
Eytukan14-May-12 23:15
Eytukan14-May-12 23:15 
AnswerRe: Simple composition - Your thoughts? Pin
Nagy Vilmos14-May-12 23:38
professionalNagy Vilmos14-May-12 23:38 
GeneralRe: Simple composition - Your thoughts? Pin
Eytukan14-May-12 23:43
Eytukan14-May-12 23:43 
AnswerRe: Simple composition - Your thoughts? Pin
Pete O'Hanlon14-May-12 23:48
mvePete O'Hanlon14-May-12 23:48 
GeneralRe: Simple composition - Your thoughts? Pin
Nagy Vilmos15-May-12 1:25
professionalNagy Vilmos15-May-12 1:25 
GeneralRe: Simple composition - Your thoughts? Pin
Pete O'Hanlon15-May-12 1:56
mvePete O'Hanlon15-May-12 1:56 
GeneralRe: Simple composition - Your thoughts? Pin
Eytukan15-May-12 4:36
Eytukan15-May-12 4:36 
GeneralRe: Simple composition - Your thoughts? Pin
Pete O'Hanlon15-May-12 4:53
mvePete O'Hanlon15-May-12 4:53 
AnswerRe: Simple composition - Your thoughts? Pin
BobJanova15-May-12 0:46
BobJanova15-May-12 0:46 
As Pete says, a constructor should always return a valid object, that is, you should be able to use it in normal situations. So the answer to the question depends on whether a Rocket can be useful without a Booster. In your simplistic example, where it has one method and that method throws an exception if it isn't set, it clearly can't, and therefore the Booster should be assigned in the constructor (and, if applicable, a null check applied there).
AnswerRe: Simple composition - Your thoughts? Pin
Marc Clifton15-May-12 1:51
mvaMarc Clifton15-May-12 1:51 
GeneralRe: Simple composition - Your thoughts? Pin
Pete O'Hanlon15-May-12 1:57
mvePete O'Hanlon15-May-12 1:57 
GeneralRe: Simple composition - Your thoughts? Pin
Marc Clifton15-May-12 2:45
mvaMarc Clifton15-May-12 2:45 

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.