GWT use of interface instead of widget

Posted by Yannick Eurin on Stack Overflow See other posts from Stack Overflow or by Yannick Eurin
Published on 2010-06-05T16:17:25Z Indexed on 2010/06/05 16:22 UTC
Read the original article Hit count: 248

Filed under:
|

Hello,

in a définition of a widget, what is a better practice, and why, use the widget himself or the type "higher", example, it's a better practice to do

1) Button myButton; or 2) Hastext myButton; (and set a button later)

thanks for your answer.

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about gwt