[TYPO3-core] Re: [TYPO3-core-internal] Deprecation strategy
Ingmar Schlecht
ingmar at typo3.org
Tue Jul 10 11:56:02 CEST 2012
Hi guys,
I actually meant to put the Followup-To-Header set to typo3.teams.core
on the original mail but somehow failed to do it. So this mail actually
has the header. If you reply, please make sure that the reply goes to
the typo3.teams.core list.
As for the topic: If you all agree that the current mechanic rule is
fine, I don't think we need to discuss this much further.
cheers
Ingmar
Am 08.07.12 13:07, schrieb Ingmar Schlecht:
> Hi guys,
>
> while I like the fact that we have a deprecation strategy in general, I
> think we should weigh-in more factors when thinking about the final
> removal of methods instead of just following a strict rule of removal
> after two versions.
>
> I think we should think more intensively of the pros and cons of the
> removal of a specific method in terms of:
>
> * What are the benefits of the removal (e.g. does the removal make
> maintenance of the code drastically easier, or is it basically no
> problem to leave an old method in place)
>
> * How frequently is a method used, e.g. in extensions. How many
> extensions will break.
>
> As particular striking examples for very frequently used methods, I
> would name t3lib_div::intInRange() and t3lib_div::readLLXMLfile().
>
> Of course we need to keep code maintainable. However, I think the fact
> that TYPO3's core code is at some points rather hard to maintain is
> mainly due to the very complex parts like TCEMain / TCEForms or the FE
> bootstrapping (which is now improving), and not so much because of
> t3lib_div containing a few more methods than would be desirable.
>
> So, in short, I would be glad if we could consider the impact of such
> method removals and weigh it against the benefits.
>
> cheers
> Ingmar
>
> Follow-up set to typo3.core.
More information about the TYPO3-team-core
mailing list