Andreas Hartmann wrote:
Jörn Nettingsmeier wrote:
That can be solved by lazy loading. But communication between classes
should happen over methods, not fields - even in class hierarchies.
i don't understand... does my code (see attachment) violate this?
I wouldn't call it "violate", it's rather a personal preference.
I prefer to call a getter when necessary (A) to a setter which is
invoked in any case (B):
thanks for the explanation. i tried to follow that pattern in the new
version of my patch (should be in bugzilla by now).
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]