[TYPO3-50-general] Magic Get too magic?

Elmar HInz elmar.hinz at team.MINUS.red.DOT.net
Fri Feb 23 11:05:59 CET 2007

> So, if you don't plan to use this design-pattern definitly in the
> future, you can add the ban of magic-methods in the coding-guide.


I wouldn't ban them, but use them for speacial defined features like rapid
prototyping, maybe for something like form generation or similar tasks.

I fear that magic will make regular libraries more cryptic (but I have few
experience with it). I fear that the learning curve would become more
steep and that the code would need twice as much efforts for documentation.



More information about the TYPO3-project-5_0-general mailing list