Is their in advantage in using Direct public Variable access in GWT
code.

Example

class Customer{
 public String name;
}

using Customer.name instead of going through a getter.

To me an advantage could be that since I have no getters and setters
in java , the generated javascript will be lighter and hence faster
download times.


Does the above logic make sense??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to