« Return to Thread: users, please give us your opinion: what is your take on generics with Wicket

Re: Making Component easier to Generify

by Matthijs Wensveen-2 :: Rate this Message:

Reply to Author | View in Thread

Ah, you beat me to that. I should've read the thread entirely before
posting :)

Martijn Dashorst wrote:

> Or with qi4j (http://qi4j.org)
>
> Martijn
>
> On Sat, Jun 14, 2008 at 5:37 AM, Eelco Hillenius
> <eelco.hillenius@...> wrote:
>  
>>> It's good to know that when you reach the same conclusion it is a deliberate
>>> one.
>>> BTW, interfaces are useful for this, but not a necessity. Or am I the only
>>> one thinking that
>>>      
>> No, I agree with you mostly. However, I was trying (back then) to
>> define separate dimensions of components (the fact that they can be
>> rendered is one, and for form components for instance, the fact that
>> they can validate is another). If you have a bunch of useful
>> distinctions like that, you can just decorate them for specific
>> purposes. Maybe.
>>
>>    
>>> (I seem to be... hmm...). More interfaces mean even more
>>> scrolling through the I's in the javadoc, nooooo, lol.
>>>      
>> Indeed, it gets ugly pretty fast. Mixins and interfaces with
>> implementations like scala has would be wonderful here, but alas,
>> we'll have to work with Java.
>>
>> Eelco
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>    
>
>
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: users, please give us your opinion: what is your take on generics with Wicket