On 8/16/11 7:39 AM, Jacek Kałucki wrote: > Użytkownik Ed Leafe napisał: >> FWIW, the general approach is to use the direct getter function within >> the class, and the property from outside the class. Probably a silly >> distinction, but you'll see this pattern a lot. >> > > Ok. But what if I decide to overwrite property code in subclass? > It have no sense for such property, but it's possible for others as general > rule. > Then entire code fails.
+1. Unless there's a good reason not to, I use the property even within the class. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
