Re: OOP/OOD Philosophy
- From: Michael Feathers <mfeathers@xxxxxxxxxxxxxxxx>
- Date: Sat, 09 Jul 2005 18:17:49 GMT
Phlip wrote:
frebe wrote:
Just keep to ANSI SQL and you will be able to change database vendor at any time. The applications I currently work with, are database vendor independent without separating the database schema from the GUI or "business" logic. Using ANSI SQL the database schema are already separated from the database vendor.
I want to switch to XML.
"I'm sorry, but we didn't plan for XML. So, you can't without, essentially, a rewrite."
"Well, can't you change the code quickly to accomodate XML? I read about a team that converted persistence strategies in a 100 KSLOC code base in about a week. They said that all of the tests that they had helped them do it."
"Er, I'm sorry about that too, but you see once we figured out that had to populate a database every time that we wanted to setup a test, well, we stopped writing as many tests. Plus, the only way to test our app is through the GUI with a screen-scraping tool and well, the tests are horrible to maintain. We have some tests but nowhere near as many as it would take to do a quick safe conversion."
"Please tell me I didn't pay for this."
Michael Feathers author, Working Effectively with Legacy Code (Prentice Hall) www.objectmentor.com .
- Follow-Ups:
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- References:
- Re: OOP/OOD Philosophy
- From: Nick Malik [Microsoft]
- Re: OOP/OOD Philosophy
- From: topmind
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: topmind
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Michael Feathers
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- Prev by Date: Re: OO Design induces an existential crisis
- Next by Date: Re: If you can't test it, you must plan it [Was: OOP/OOD Philosophy]
- Previous by thread: Re: OOP/OOD Philosophy
- Next by thread: Re: OOP/OOD Philosophy
- Index(es):
Relevant Pages
|