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

Steffen Ritter info at rs-websystems.de
Mon Jul 12 15:30:10 CEST 2010


Am 12.07.2010 15:10, schrieb Steffen Kamper:
> 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
+1 for early return in this case,
reading and testing Steffens versions


More information about the TYPO3-team-core mailing list