[TYPO3-mvc] feature suggestion open to discussion
Bastian Waidelich
bastian at typo3.org
Thu May 27 10:50:07 CEST 2010
Sebastian Kurfürst wrote:
Hi,
> The main argument to not do it as I remember is that it makes unit
> testing a real pain, and is quite "magical" as well.
Another one was, that magic getters/setters are significantly slower
than the real ones.
As much as I can understand Christians intentions I'd prefer not to
introduce much more magic just to overcome PHPs weaknesses.
Hopefully there will be a proper property notation in PHP sometimes
(http://wiki.php.net/rfc/propertygetsetsyntax). That would reduce the
amount of code but keep it testable..
Best,
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list