Is it possible to create a domain model for legacy code without refactoring?
Posted
by plaureano
on Stack Overflow
See other posts from Stack Overflow
or by plaureano
Published on 2010-03-26T03:52:40Z
Indexed on
2010/03/26
3:53 UTC
Read the original article
Hit count: 289
I currently have a client that wants me to 'abstract' out a domain model from the existing code but they specifically said that I shouldn't refactor the existing code itself. My question is 1) whether or not this is advisable and 2) what techniques would you apply in this scenario if you can't refactor the code yet they expect you to come up with a model for it?
(EDIT: I can't quite put my finger on it, but somehow, not being able to refactor in this case just feels wrong. Has anyone else run into this type of scenario?)
© Stack Overflow or respective owner