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

Design and Architecture

 
AnswerRe: Refactoring the code or dessign? Pin
Scott Dorman30-Jun-08 23:30
professionalScott Dorman30-Jun-08 23:30 
GeneralRe: Refactoring the code or dessign? Pin
led mike1-Jul-08 4:41
led mike1-Jul-08 4:41 
GeneralRe: Refactoring the code or dessign? Pin
Scott Dorman1-Jul-08 6:20
professionalScott Dorman1-Jul-08 6:20 
GeneralRe: Refactoring the code or dessign? Pin
led mike1-Jul-08 7:28
led mike1-Jul-08 7:28 
GeneralRe: Refactoring the code or dessign? Pin
dojohansen22-Jul-08 23:00
dojohansen22-Jul-08 23:00 
GeneralRe: Refactoring the code or dessign? Pin
led mike23-Jul-08 5:57
led mike23-Jul-08 5:57 
GeneralRe: Refactoring the code or dessign? Pin
dojohansen24-Jul-08 0:22
dojohansen24-Jul-08 0:22 
GeneralRe: Refactoring the code or dessign? Pin
led mike24-Jul-08 6:35
led mike24-Jul-08 6:35 
dojohansen wrote:
I was debating whether or not *generally* speaking it is smart to develop unit tests BEFORE or AFTER a refactoring of code. Unfortunately not one word you input related to this subject


Perhaps it's because you replied to my post that said:

led mike wrote:
Yes. It's hard to imagine someone is thinking about design and architecture and refactoring but they haven't yet thought about the fact they should have unit tests. As hard as it might be to imagine that someone, no doubt they exist.


What I was discussing in that post as well as my last one to you was the importance of Unit Tests during INITIAL DEVELOPMENT. The original post used terms like "old architecture" which I took to mean in production.

dojohansen wrote:
It is my OPINION that it is not ALWAYS or AUTOMATICALLY best to develop unit tests PRIOR TO REFACTORING CODE


It's my opinion that it's insane to be in production without unit tests. And no this is not some new belief based on TDD, I learned to use Unit Tests long before I ever heard the term Test Driven Development and long before any frameworks existed, AFAIK. Therefore I was never discussing the merits of developing unit tests based on a need to refactor in post production since the Unit Tests would already exist prior to production. My comments were only to the point of developing unit tests as a standard practice of software development, period.

So you can get as upset as you want with what I said, it doesn't change any of that.


led mike

GeneralRe: Refactoring the code or dessign? Pin
Pete O'Hanlon24-Jul-08 8:45
mvePete O'Hanlon24-Jul-08 8:45 
GeneralRe: Refactoring the code or dessign? Pin
led mike24-Jul-08 8:58
led mike24-Jul-08 8:58 
GeneralRe: Refactoring the code or dessign? Pin
Pete O'Hanlon24-Jul-08 9:05
mvePete O'Hanlon24-Jul-08 9:05 
GeneralRe: Refactoring the code or dessign? Pin
led mike24-Jul-08 9:25
led mike24-Jul-08 9:25 
GeneralRe: Refactoring the code or dessign? Pin
Pete O'Hanlon24-Jul-08 9:42
mvePete O'Hanlon24-Jul-08 9:42 
GeneralRe: Refactoring the code or dessign? Pin
led mike24-Jul-08 10:18
led mike24-Jul-08 10:18 
GeneralRe: Refactoring the code or dessign? Pin
dojohansen25-Jul-08 2:04
dojohansen25-Jul-08 2:04 
GeneralRe: Refactoring the code or dessign? Pin
led mike25-Jul-08 4:46
led mike25-Jul-08 4:46 
GeneralRe: Refactoring the code or dessign? Pin
dojohansen25-Jul-08 4:53
dojohansen25-Jul-08 4:53 
GeneralRe: Refactoring the code or dessign? Pin
led mike25-Jul-08 5:18
led mike25-Jul-08 5:18 
GeneralException Handling in Desktop Application Pin
Brady Kelly25-Jun-08 2:54
Brady Kelly25-Jun-08 2:54 
GeneralRe: Exception Handling in Desktop Application Pin
Steven A. Lowe13-Sep-08 17:06
Steven A. Lowe13-Sep-08 17:06 
QuestionObject Composition Pin
Leslie Sanford24-Jun-08 17:27
Leslie Sanford24-Jun-08 17:27 
AnswerRe: Object Composition Pin
led mike25-Jun-08 4:30
led mike25-Jun-08 4:30 
GeneralNatural vs Surrogate Keys [modified*2] Pin
Brady Kelly20-Jun-08 10:15
Brady Kelly20-Jun-08 10:15 
GeneralRe: Natural vs Surrogate Keys Pin
mr_lasseter25-Jun-08 13:37
mr_lasseter25-Jun-08 13:37 
GeneralRe: Natural vs Surrogate Keys [modified*2] Pin
Jeremy Tierman5-Jul-08 12:53
Jeremy Tierman5-Jul-08 12:53 

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.