A stylistic dispute about indentation and line breaking of large function calls which take a callback as well.
This? All parentheses and brackets on separate lines, arguments indented and given their own line breaks to start on.
async.waterfall(
[
func1,
func2,
funcN
],
function(error, data) {
// code
}
);
OR
Less indentation, brackets sharing lines, ending square bracket to argument 1 on the same line as callback declaration.
async.waterfall([
func1,
func2,
funcN
], function(error, data) {
// code
});
Which looks more natural? Which is more consistent with community aesthetics?