Click here to Skip to main content
15,887,936 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Design Architecture for developing a UML Class Diagram Editor Pin
Daskul11-Dec-12 14:02
Daskul11-Dec-12 14:02 
GeneralRe: Design Architecture for developing a UML Class Diagram Editor Pin
Pete O'Hanlon11-Dec-12 20:44
mvePete O'Hanlon11-Dec-12 20:44 
QuestionWhat's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak8-Dec-12 13:21
Robb Ryniak8-Dec-12 13:21 
AnswerRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Eddy Vluggen9-Dec-12 6:36
professionalEddy Vluggen9-Dec-12 6:36 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak9-Dec-12 12:15
Robb Ryniak9-Dec-12 12:15 
AnswerRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
jschell9-Dec-12 8:47
jschell9-Dec-12 8:47 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak9-Dec-12 12:14
Robb Ryniak9-Dec-12 12:14 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
jschell10-Dec-12 8:24
jschell10-Dec-12 8:24 
Robb Ryniak wrote:
secondary to design and implementation that considers
performance (accuracy and stability assumed) as the higher priority. If I am
faced with the choice between code that executes twice as fast and code that is
twice as readable, I choose performance every time... but then comment
appropriately.


I don't care how fast the code executes - what matters is how fast the application works. There are often many tasks in an application which would have zero impact on the primary performance of the application. Yet there are also many tasks that still must exist for the application to be fully functional. Making all of those unreadable for the sake of performance that means nothing is not a good investment.

Robb Ryniak wrote:
For example, I had a project about 10 years ago in C++...


For example I had a project in Java a bit more than 10 years ago which the estimated run time was 8 to 12 hours with a 3 month development cost. Removing one requirement which the user didn't even want reduced the estimated run time to a couple of minutes (and implemented run time to less than that) and the development time to a couple of days.

Robb Ryniak wrote:
In contrast, there's a fairly popular game out right now that is written ...


And you are suggesting that is solely a implementation problem and has nothing to do with design?

Robb Ryniak wrote:
I wasn't trying to say that large methods were specifically
desirable, only that they shouldn't be shunned as "don't ever
ever do this
" kind of practices


As I stated, in my experience, large code blocks like that are usually the result of poor or no OO understanding. So avoiding them provides a way to mitigate a design problem - not an implementation problem.

Robb Ryniak wrote:
I don't agree at all. I think any design (good or bad) can be implemented with
either fast or slow executing code,


Not in my experience. And nothing I have ever read suggests that to be true in a general way. And that isn't a recent trend either. I can remember seeing the same view point in the 90's.

Robb Ryniak wrote:
I just don't think it needs to be that way.


Far as I can tell your viewpoint would lead exactly to that. Promoting performance as the goal means that developers are going to spend a lot of time optimizing code to achieve that goal - for specific code blocks. While performance measurements would demonstrate that most of the code has no impact on the primary core functionality of the application.
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak10-Dec-12 10:14
Robb Ryniak10-Dec-12 10:14 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
jschell11-Dec-12 9:32
jschell11-Dec-12 9:32 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak11-Dec-12 15:34
Robb Ryniak11-Dec-12 15:34 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
jschell12-Dec-12 8:18
jschell12-Dec-12 8:18 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak12-Dec-12 9:07
Robb Ryniak12-Dec-12 9:07 
AnswerRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Keld Ølykke9-Dec-12 9:41
Keld Ølykke9-Dec-12 9:41 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak9-Dec-12 12:21
Robb Ryniak9-Dec-12 12:21 
AnswerRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Pete O'Hanlon10-Dec-12 8:49
mvePete O'Hanlon10-Dec-12 8:49 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak10-Dec-12 10:10
Robb Ryniak10-Dec-12 10:10 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Pete O'Hanlon10-Dec-12 22:13
mvePete O'Hanlon10-Dec-12 22:13 
GeneralRe: What's the deal with various coding practices and "Code Smell" these days?? Pin
Robb Ryniak11-Dec-12 11:41
Robb Ryniak11-Dec-12 11:41 
Questionexample of well designed softwares Pin
Giuseppe Tollini6-Dec-12 2:56
Giuseppe Tollini6-Dec-12 2:56 
AnswerRe: example of well designed softwares Pin
jschell6-Dec-12 9:17
jschell6-Dec-12 9:17 
AnswerRe: example of well designed softwares Pin
Eddy Vluggen7-Dec-12 2:07
professionalEddy Vluggen7-Dec-12 2:07 
AnswerRe: example of well designed softwares Pin
Keld Ølykke9-Dec-12 9:45
Keld Ølykke9-Dec-12 9:45 
QuestionWeb services theory Pin
Bytescream3-Dec-12 10:24
Bytescream3-Dec-12 10:24 
AnswerRe: Web services theory Pin
Raj Champaneriya3-Dec-12 18:41
professionalRaj Champaneriya3-Dec-12 18:41 

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.