[TYPO3-ect] div: discuss browserSession

Bastian Waidelich waidelich at network-publishing.de
Mon Jun 16 10:35:29 CEST 2008


Franz Holzinger wrote:

Hi Franz,

> 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