[TYPO3-core] RFC: #15082: [openDocs] Exception is thrown if a record isn't found

Steffen Kamper info at sk-typo3.de
Mon Jul 12 15:10:42 CEST 2010


Hi François,
François Suter schrieb:
> In the spirit of avoiding early returns, I encapsulated the whole inside 
> the test in my patch. I'm attaching it here as an alternative.
> 

but in CGL there is exact this example with early return, for me it 
looks cleaner. See
http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.4.1/view/1/3/
(Validation)

vg Steffen


More information about the TYPO3-team-core mailing list