[TYPO3-core] RFC: #6829 - New general template-class usable for FE+BE
    Martin Kutschker 
    Martin.Kutschker at n0spam-blackbox.net
       
    Mon Nov 26 10:12:23 CET 2007
    
    
  
Dmitry Dulepov [typo3] schrieb:
>
> I actually would vote for using realbolean parameters when we need 
> boolean in the function. Currently most often it looks like:
> 
> function a($booleanParam = '') {
>     ...
> }
> 
> but should be
> 
> function a($booleanParam = false) {
>     ...
> }
> 
> And if function wants to return false, there must be a "return" 
> statement, not silent exist without no return.
YES, YES, YES!!!!
Masi (sorry for shouting)
    
    
More information about the TYPO3-team-core
mailing list