[CSC 204] Constructor and Method Naming in the ShippingCube
Andrew J. Pounds
pounds_aj at mercer.edu
Sun Feb 9 08:43:03 EST 2014
In the past when some of you have turned in programs -- and especially
in the case of labs -- you have named things using your own, sometimes
creative, naming conventions. For example, you might have used Mercman
instead of MercMan. Or you chose to use a name like MercWoman. While I
was grading those I was able to figure out what you did and modified my
tester programs accordingly.
The ShippingCube is going to have so many different constructors and
methods that it is not going to be easy to try and figure out when you
were using your own naming conventions -- and when you made a blatant
error. In fact, if you use your own creative names it won't even
compile with my tester program -- and that really hurts your grade.
Therefore, you MUST adhere to the *constructor and method names* as well
as the *parameter and return types* specified on the assignment sheet.
In other words -- use setBallDiameterand not
setballdiameter,
SetBallDiameter, or
setBalldiameter.
Let me know if you have any questions about this.
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc204/attachments/20140209/eec2671f/attachment.html>
More information about the csc204
mailing list