Good writing style:
objectName.methodWithManyParameters(someLongParameter1, someLongParameter2, someLongParameter3, someLongParameter4, someLongParameter5);
(which, obviously, is far from short for one line) as
objectName.methodWithManyParameters
(
someLongParameter1,
someLongParameter2,
someLongParameter3,
someLongParameter4,
someLongParameter5
);
Another way:
objectName.methodWithManyParameters(someLongParameter1, someLongParameter2,
someLongParameter3, someLongParameter4,
someLongParameter5);
source
share