Re:PHP 8 in 8 code blocks
by GrumpyNl on Saturday May 16, 2020 @05:56AM
(#23202062)
Whats the big advantage of Trailing commas are allowed in parameter lists? I never liked it, if its not there, dont do a kind of pseudo initialization.
[ Parent
| on HN ]
Maybe not for single line calls, but for multi-line helps with some readability and git diffs.
$result = thing(
$arg1,
$arg2,
$arg3,
);