[TYPO3-v4] RFC: Visibility keywords throught the Core

Marcus Krause marcus#exp2010 at t3sec.info
Sat Oct 9 23:42:08 CEST 2010


Hi!


I hereby submit following project idea:

"Put visibility keywords to method signatures and class members
throughout the core"

In new classes, we already add visibility keywords to method signatures
or class members. (And assign the least necessary visibility.)

However, for old classes this is not the case and all methods or members
are public. Then API can be summarized to: "You can access all members
and all methods"

Why this change:
* A defined API is just a part of good OOP design.
* A defined visibility allows us easily refactor existing code.
* _put your reasons here_


I'd love to hear your opinions!



Marcus.


More information about the TYPO3-project-v4 mailing list