On Wed, May 8, 2013 at 8:26 PM, Krinkle <krinklem...@gmail.com> wrote:

>     delete( mw.legacy );
>
>     new( mw.Title );
>
>     typeof( mw );
>
>     echo( $foo . $bar );
>
>     print( $foo . $bar );
>
>     return( $foo . $bar );
>
> … and, wait for it..
>
>     require_once( $foo . $bar );
>

I mostly agree. However, I must admit there are *some* cases where the
parentheses are appropriate. However, in those situations, they should not
be used as a function call operator. In other words, rather than:

return( $foo . $bar );

Sometimes (and only sometimes) it might be appropriate to do

return ( $foo . $bar );

In other words, the parentheses are being used to group the expression
similar to how it's used in mathematical expressions, but not as a function
call operator.

*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2015
Major in Computer Science
www.whizkidztech.com | tylerro...@gmail.com
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to