Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Re: 7.0.0.M0 progress

Just stating that it is a tree like structure front and center might help..

its already the same sort of method signature that jdom uses I think
for their addElement, etc etc type calls...

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx



On Wed, Apr 1, 2009 at 11:30, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
> I've also been burned by the subtle nuances of addHandler(Handler).
> So much so, that I just stick to setHandler(Handler[]) anymore.
>
> Disclaimer: just thinking out loud.
>
> I've been pondering if a name change would help.
> Some ideas:
> .appendHandler(Handler)
> .wrapHandler(Handler)
> .inlineHandler(Handler)
>
> The downside to these is that they are not that obvious when searching
> through the already large API doc.
>
> - Joakim
>
> On Wed, Apr 1, 2009 at 9:18 AM, Simone Bordet <simone@xxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> I'd also suggest for 7.0 to review the addHandler/setHandler API which
>> seems to cause a bit of confusion.
>>
>> My guts feeling is that the documentation is being read only after the
>> intuitive effort does not work (the API should be clear enough), so
>> I'd vote without hesitation for a more intuitive API.
>>
>> Thoughts ?
>>
>> Simon
>> --
>> http://bordet.blogspot.com
>> ---
>> Finally, no matter how good the architecture and design are,
>> to deliver bug-free software with optimal performance and reliability,
>> the implementation technique must be flawless.   Victoria Livschitz
>
>
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
>


Back to the top