Originally posted by: net
int x
= 5;
val
=
5
+
6
%
2
i guess in crazy land this might be good way to program?
Har! I lolled! I do vary as well, depending. For a constructor, no, it should not be necessary. If doing the indented list style, me likes to have it include up to the ( on the first line, just reads better. You know it's a method for one thing. Also, commas come at the end of the line, obviously. Rarely used, more often with extra-long variable names than these.
ProductItem productItem = ProductItemFactory.createProductItem(
pd.RGB,
pd.Name,
index, // It does allow compact arg-specific comments!
pd.ProductGroup, // using ProductGroup of the sirene
"User Defined" // requires new password at first login
);