Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Gavin Dibley

Member since Dec 11, 2008

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 »