[TYPO3-ect] div: discuss browserSession

Daniel Bruessler danielb at typo3.org
Tue Jun 17 16:45:33 CEST 2008


Hello Franz and Bastian,

yes, getters and setters are standard. This little bit overhead helps 
much in understanding, using and testing.

Cheers!
Daniel


>> Do you consider this as a good style to use a function for setting as
>> well as getting a value?
> 
> Not really. One method should only be doing _one_ thing.
> 
>> I would prefer to have setter and
>> getter functions for all kind of things.
> 
> Yes, much clearer IMHO!
> 
> Basti


More information about the TYPO3-team-extension-coordination mailing list