[TYPO3-dev] RFC: CGL change regarding return statements

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Mar 11 12:10:51 CET 2011


Hi!

Andreas Wolf wrote:
> is this -1 still valid if I narrow "validation" to "guard clauses" as
> described by Oli? Or do you propose to limit it to only throwing
> exceptions and keeping the single-return-statement-rule?

Oli's statement is fully in accordance with current CGL as I understand it :)

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/




More information about the TYPO3-dev mailing list