2008/7/25 Adelle Hartley <[EMAIL PROTECTED]>: > So I can replace Customers.Countries.Currencies.ExchangeRates with either > Customers.ExchangeRates or Customers.Currencies.ExchangeRates, in either > case reducing the amount of knowledge I rely on regarding the Customers > class - which I think was your point, although I never thought about it that > way before. I was just trying to save some typing in the caller.
I think they're great idioms, especially as, like you say, > I've usually typed a.b.c.d a few times before I do that. and anywhere you can remove the amount of typing without losing meaning is a boon to you and also to the reader. > For code that's been generated from an E/R model, I wonder if methods for > a.d, a.c, and a.d can also be generated in the cases where their meaning > would be unambiguous. Would that even be a good idea? What's "E/R" ? _______________________________________________ coders mailing list coders@slug.org.au http://lists.slug.org.au/listinfo/coders