I don't think that it constrains it, although it can make it more challenging at times. The IDE doesn't always keep metadata in sync with the code after code elements have been renamed. For example, metadata describing a relational foreign key reference might be broken after renaming a method. A good set of tests will catch these problems.
Steve > -----Original Message----- > From: Steven Gordon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 01, 2004 5:21 PM > To: [EMAIL PROTECTED] > Subject: RE: [XP] [OT] Delegation and YAGNI! And XML xref > > > Did it ever constrain your ability to refactor your code? > > -----Original Message----- > From: Steve Bate [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 01, 2004 4:00 PM > To: [EMAIL PROTECTED] > Subject: RE: [XP] [OT] Delegation and YAGNI! And XML xref > > > > > From: Steven Gordon [mailto:[EMAIL PROTECTED] > > ... > > In a language like C#, using attributes to define the > > database mapping might be an interesting approach that > > would allow you to keep the mapping information with the > > class itself. Has anybody tried using attributes for that > > purpose? > > I've done it in Java using XDoclet and Hibernate. I've also > used O/R mapping attributes for automatically creating > the database schema and associated tables. It's worked well > for my purposes. > > Steve > > > > > > To Post a message, send it to: [EMAIL PROTECTED] > > To Unsubscribe, send a blank message to: extremeprogramming- > [EMAIL PROTECTED] > > ad-free courtesy of objectmentor.com > Yahoo! Groups Links > > > > > > To Post a message, send it to: [EMAIL PROTECTED] To Unsubscribe, send a blank message to: [EMAIL PROTECTED] ad-free courtesy of objectmentor.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/extremeprogramming/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
