Le 09/04/2013 07:22, Gary Gregory a écrit : > WRT org.apache.commons.csv.CSVFormat.CSVFormat(char, Character, Quote, > Character, Character, boolean, boolean, String, String, String[]) > > There does not seem to be a good reason why this is not public. The only > argument I've heard is that some people do not like to use long ctors. But > so what? If we make it public, users have the choice to the the whole > fluent builder API or not. > > Thoughts?
The good reason is to prevent the proliferation of insanely long and unusable constructors. Today you have a constructor with 10 parameters, tomorrow as the API evolves new constructors will appear with 11, 12, 13 parameters. This is just messy. Emmanuel Bourg
smime.p7s
Description: Signature cryptographique S/MIME