« 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 Ricky-22 :: Rate this Message:

Reply to Author | View in Thread

[X ] Can best be done like currently in the 1.4 branch, where models
and components are both generified. I care most about the improved
static type checking generified models and components give Wicket.

I think generifying Components give more clarity (Don't blame Wicket for
Messed up Generic Notation, lots of things can and i suppose will be
improved as we move on) to thinking; IMHO generifying components like pages
and panels makes for cleaner code (in that you see clearly that "this" panel
/ page or whatever is tied to this model etc.)

I don't know ... I am kinda in between 1 & 2 (adding generics to components
or just in limited fashion). But I'll think most people would want to go for
number 2. (adding generics in limited fashion). I would still upgrade to 1.4

Regards
Vyas, Anirudh

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