james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: DOM API refactoring completed
Date Mon, 31 Jan 2011 00:11:40 GMT
2011/1/31 Stefano Bagnara <apache@bago.org>:
>> (1) Multiple boolean parameters are confusing and considered a bad
>> practice.
>> (2) We can easily add more parameters in the future without having to
>> change the interface itself
>
> I see you often reference Pattern/Antipatterns/Bad practice.
> Don't you think that method with the "nullable" parameters had a bad smell, too?
> I can see the disadvantage of method proliferation, too, but then why

Sorry, I should have reread from start before sending. I planned to
remove that sentence just before sending as I considered the nullable
parameter method issue later in the reply (with better terms).
So please ignore this "incomplete" sentence.

Stefano

Mime
View raw message