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

Design and Architecture

 
QuestionRe: Design Architecture for developing a UML Class Diagram Editor Pin
Daskul10-Dec-12 14:59
Daskul10-Dec-12 14:59 
AnswerRe: Design Architecture for developing a UML Class Diagram Editor Pin
jschell11-Dec-12 9:35
jschell11-Dec-12 9:35 
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 
Robb Ryniak wrote:
I've been programming now for over 30 years, and have used a huge variety of languages - everything from GW-BASIC to Assembler to C++ to VB to C#, and everything in between.


I have been doing it for 40 years and have used Fortran, Basic(various flavors), Pascal, assembly (different flavors), C, C++, C#, Java, Perl, various SQL dialects and various scripting languages.

Robb Ryniak wrote:
and the singular most important lesson I've learned throughout all of this is as follows:


You failed to mention maintenance costs and total life cycle costs in anything you said.

Robb Ryniak wrote:
Why make the computer perform a CALL instruction (with all the associated stack management for proc address and arguments, etc.) when it doesn't need to? What for? To make it allegedly more readable?? I honestly don't understand the logic behind such refactorings or design methodologies. It seems so wasteful to design so many layers into a project just because some people have a hard time reading longer segments of code.


Which might be because you don't understand maintenance costs an life cycle costs.

The fact that you understand the code means nothing it terms of whether someone else can understand it. And in the vast majority of professional programming software that actually reaches production will require that someone else besides the original programmer must understand it at some time.

Software development is not a rigorous discipline and practices are acquired based on many factors but because the community is so broad practices that work become the norm over time.

Your large method idea was one that even structured programmers rejected long ago and that rejection is further demonstrated by the wide and rapid acceptance of Object Oriented programming.

As with all things this is not an absolute mandate in that every thing must be broken into smaller pieces but the vast majority should. And at least in my experience code that fails to do this generally is often obviously not based on an OO design.

Robb Ryniak wrote:
When I was coding on XT machines with a scant couple of Mhz at my disposal, every single instruction mattered... ALOT.


And when I used punch cards every single key press mattered since it could take a half an hour turnaround to find even syntax errors.

But those days are past and are irrelevant for most business domains. The most relevant business domain that is even close to that these days is embedded programming and even those are getting away from small space constraints (over the entire field, some areas still require it.)

Robb Ryniak wrote:
like trying to make programmer's jobs as easy as possible?


Huh? Because it costs money to produce software. It costs money to fix bugs in production. Because it costs money if one losses market share due to long lead times.

Robb Ryniak wrote:
I guess I'd like to understand why the quest for performance seems to have been nearly completely abandonded in favor of making code as readable as possible..


Because performance is most significantly impacted by requirements and design. Not implementation. Excluding implementation design errors, which are still design errors, performance improvements at the implementation lever are almost always in the small percentages. Whereas design/requirements problems can result in order of magnitudes difference.
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 
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 

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.