Hi, Everybody,
Several times I've seen companies that re-use applications for other
clients. They do this by either taking classes they've used, or by wrting a
generator that creates a class... mostly a "Data Gateway" class that, no
matter what the application or desired functionality, contains methods like
"GetByID" "GetAll" "UpdateByID," etc. The GetBy methods retrieve a
recordset, the update methods update the entire recordset, no matter what
*field" needs updating.
As a result, when I worked in an application I inherited a lot of code that
was never used... and when all I had to update was a single field, I was
still updating the entire record.
I know it's breaking YAGNI, and I know you probably wouldn't do this on an
XP project... but what do people on this list think about that way of
working?
If you went into a company where the code was like, what would you do?
Kay
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/