[TYPO3-core] RFC: #11836: Remove final from classes

Martin Kutschker masi-no at spam-typo3.org
Tue Sep 1 08:41:10 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> this is a SVN patch request.
> 
> Type: Bugfix
> 
> BT Reference: http://bugs.typo3.org/view.php?id=11836
> 
> Branches: trunk
> 
> As TYPO3 should be extendable for all classes the final statement
> prevent this.
> Removing final gives the possibility to extend these classes and
> substitute functions of this classes by own ones. I don't see a reason
> for preventing this.

The final keyword is used solely for classes that have only static
functions and should therefore not be instantiated at all. Technically
you could extend them, but it makes little sense to do so.

Masi


More information about the TYPO3-team-core mailing list