Thursday, January 26, 2012

List or ArrayList/concrete type

at the beginning of my gwt adventure i read somewhere that it is better to use concrete classes for interfaces like lists, because the gwt compiler must generate java script for every kind of list.
Is this (still) true? I asked because by using arraylist/concrete types everywhere on client side yields a lot of "loose coupling" warnings from sonar and beside this it is the absolute opposite of the make-(gwt)-code-more-testable-by-using-interfaces-as-much-as-possible-philosophy.

thx in advance

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VOkJ_rXafgQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment