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

Re: users, please give us your opinion: what is your take on generics with Wicket

by Johan Compagner :: Rate this Message:

Reply to Author | View in Thread

Type inference alone will not really help us
To kill the verbosity on components that are not used with models we need
something like <T default Void>

johan


On Tue, Jun 3, 2008 at 1:34 PM, Gabor Szokoli <szocske@...> wrote:

> Hi,
>
> We haven't worked with 1.4 enough to form an opinion, but we'll
> definitely upgrade to it for the next project.
>
> On 6/3/08, Johan Compagner <jcompagner@...> wrote:
> > If only... if only
> >  we had this construct:
> >
> >  class Component<T default Void>
>
> If only we had type inference :-)
> Is this any nicer in scala?
>
>
> Gabor Szokoli
>
> ---------------------------------------------------------------------
> 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