Gavin Dibley
Member since Dec 11, 2008
- Profile: /members/1113-gavin-dibley.htm
- URL: http://www.gigastorm.net
- Comments: 1
Recent Blog Comments By Gavin Dibley
-
Moving Away From VARIABLES And Getters / Setters
Posted on Jun 17, 2007 at 11:07 PM
Depends on the implementation, if you are passing a lot of varables which may be of one type, maybe sending them as an array or all at once into the class or object or if the varables are only used to set up the object, send it as a constructor... eg. instead of: public void setX(int x) { this.... read more »