I thought you were suggesting the static/singleton part here by way of suggesting that this was a better way of doing things, avoiding constructing the same instance over and over, but in retrospect I might have misunderstood. If you are suggesting the static/singleton stuff to make it easier to add on more methods, then yeah, that makes perfect sense.
My only point was meant to be from the optimization perspective, that the compiler is smart enough to get the job done just about any way you write it.
--
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/-/2Kvhs4fdOz0J.
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