in reply to To parens or not parens in chained method calls
I personally prefer to remove all parens that are unnecessary for the compiler. Something else I tend to do with chained methods–
$obj->other_obj ->method; # /* I do it in JS too :P */ $.ajax({blah blah}) .done() .fail();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: To parens or not parens in chained method calls
by choroba (Cardinal) on Feb 16, 2017 at 09:40 UTC |