[mlpack-svn] [MLPACK] #118: Use consistent accessors and mutators

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Sat Nov 26 17:40:35 EST 2011


#118: Use consistent accessors and mutators
------------------------------------------+---------------------------------
  Reporter:  rcurtin                      |        Owner:            
      Type:  wishlist                     |       Status:  new       
  Priority:  major                        |    Milestone:  MLPACK 1.0
 Component:  MLPACK                       |   Resolution:            
  Keywords:  mlpack getter setter public  |     Blocking:  120       
Blocked By:                               |  
------------------------------------------+---------------------------------

Comment (by nslagle):

 The issue with Mickey D's is that we'll probably be out of a job as soon
 as they hire us.  The case in which the user needs to double the matrix
 might not really be an issue; we pass into the class a reference to our
 data matrix defined in the main.  Thus, any user-demanded funny business
 with the matrix conceivably could occur outside of our class object.  At
 some point, we have to trust our users to hang themselves properly.  I'm
 more concerned about the effect of mixing the two styles in our own code
 proper; newer developers might not understand.

 Is this a specific case you've encountered, or is this more a hypothetical
 example?

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/118#comment:12>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list