Click here to Skip to main content
16,004,887 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Complex Architecture? Pin
jschell10-Jul-15 14:25
jschell10-Jul-15 14:25 
AnswerRe: Complex Architecture? Pin
Dominic Burford17-Jul-15 3:07
professionalDominic Burford17-Jul-15 3:07 
GeneralRe: Complex Architecture? Pin
Chris Quinn17-Jul-15 3:46
Chris Quinn17-Jul-15 3:46 
GeneralRe: Complex Architecture? Pin
Dominic Burford17-Jul-15 5:05
professionalDominic Burford17-Jul-15 5:05 
AnswerRe: Complex Architecture? Pin
Kaaron7-Oct-15 14:25
Kaaron7-Oct-15 14:25 
Suggestion'else' statements: the cockroaches of programming? Pin
mickan4-Jul-15 8:35
professionalmickan4-Jul-15 8:35 
GeneralRe: 'else' statements: the cockroaches of programming? Pin
Pete O'Hanlon4-Jul-15 10:52
mvePete O'Hanlon4-Jul-15 10:52 
GeneralRe: 'else' statements: the cockroaches of programming? Pin
Eddy Vluggen5-Jul-15 0:38
professionalEddy Vluggen5-Jul-15 0:38 
Pete O'Hanlon wrote:
although it is in direct contradiction to Steve McConnell's advice about only
having one exit point from a method
Worst advice ever if you work in a OO-language.

How can a "goto endOfMethod" be more readble than a "return"? That is only true if you need multiple statements as a return-block (say, cleanup code), where it indeed would be more difficult to maintain since it means having duplicate code inside your method.

No, limiting the exitpoints of a method to "1" does not improve readability. Yes, I've also heard the argument that it makes it easier to locate where something is returned without having to read the entire function. Well, without reading the entire function you won't know what happened either, and if it is that much reading work then you have a method that is too large.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: 'else' statements: the cockroaches of programming? Pin
mickan5-Jul-15 8:01
professionalmickan5-Jul-15 8:01 
AnswerRe: 'else' statements: the cockroaches of programming? Pin
Richard Andrew x644-Jul-15 11:11
professionalRichard Andrew x644-Jul-15 11:11 
GeneralRe: 'else' statements: the cockroaches of programming? Pin
mickan5-Jul-15 8:06
professionalmickan5-Jul-15 8:06 
GeneralRe: 'else' statements: the cockroaches of programming? Pin
Richard MacCutchan5-Jul-15 21:38
mveRichard MacCutchan5-Jul-15 21:38 
GeneralRe: 'else' statements: the cockroaches of programming? Pin
jschell10-Jul-15 14:32
jschell10-Jul-15 14:32 
QuestionJust released the latest version of my open source project... Pin
Corvusoft21-Jun-15 21:51
Corvusoft21-Jun-15 21:51 
AnswerRe: Just released the latest version of my open source project... Pin
Richard MacCutchan21-Jun-15 22:19
mveRichard MacCutchan21-Jun-15 22:19 
AnswerRe: Just released the latest version of my open source project... Pin
Pete O'Hanlon21-Jun-15 22:51
mvePete O'Hanlon21-Jun-15 22:51 
GeneralRe: Just released the latest version of my open source project... Pin
Corvusoft21-Jun-15 23:44
Corvusoft21-Jun-15 23:44 
GeneralRe: Just released the latest version of my open source project... Pin
Pete O'Hanlon21-Jun-15 23:54
mvePete O'Hanlon21-Jun-15 23:54 
QuestionReal time RTDS Feeds from nse SIte Pin
Member 1178089120-Jun-15 23:11
Member 1178089120-Jun-15 23:11 
AnswerRe: Real time RTDS Feeds from nse SIte Pin
Richard MacCutchan21-Jun-15 1:35
mveRichard MacCutchan21-Jun-15 1:35 
QuestionDistributed Parallel ETL Load processing Pin
OMalleyW16-Jun-15 2:59
OMalleyW16-Jun-15 2:59 
QuestionStruggling to Fix the Syntax Error in WordPress Pin
Lucy Barret11-Jun-15 2:50
professionalLucy Barret11-Jun-15 2:50 
QuestionSingleton Pattern - Different Flavors Pin
FabioI21-May-15 1:05
FabioI21-May-15 1:05 
AnswerRe: Singleton Pattern - Different Flavors Pin
Pete O'Hanlon21-May-15 1:17
mvePete O'Hanlon21-May-15 1:17 
GeneralRe: Singleton Pattern - Different Flavors Pin
FabioI26-May-15 4:50
FabioI26-May-15 4:50 

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.