Death to Foo and Bar

"Will Shaver" <[email protected]> Tue, 5 Aug 2008 18:00:16 -0700
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
Having recently updated my copy of the trunk, I watched the updated files
fly by. To my dismay, yet another version of "Foo.cs" was added to the
source.

Please don't use Foo and Bar. They have no default relationships, no
standardized constructor, no inherent properties. In order to debug a test
that contains a Foo / Bar class developers are forced to review the class
and mappings to understand the desired relationship. Instead, use an obvious
relationship such as People->Pets, Cities->Houses,
Customers->Orders->LineItems etc.

Foo and Bar add no value...

 -Will

Major self-promotion... but here's a full rant on my blog:
http://www.primedigit.com/2008/08/05/death-to-foo-and-bar

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Nhibernate-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nhibernate-development