Robusta Web Library : Open Source for REST & Java
Roel De Nijs wrote:I documented all methods, so getters and setters are included. Just for the sake of the assignment, because in my opinion documenting getters/setters have not a lot of added value, certainly not if you have good names for your methods. I think you can use the time to complete the javadoc for all getters/setters better for documenting "real" methods.
I don't think you'll fail automatically for not documenting all getters/setters.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Robusta Web Library : Open Source for REST & Java
SCJP 6
SCJP 6
Pedro Kowalski wrote:Didn't see implementation + javadoc codes for class variables. For classes, yeah - sure, but for variables... no. Of course that doesn't mean that you shouldn't do it :-)
In your place I would try to think if such a situation doesn't mean you should rethink your design or at least move some of those comments to the place where you use this variable - to the method.
Do you think it would make sense in your case?
Cheers!
PS. Yea, thanks - I'm just struggling with the choices.txt which is over 55kB right now... But I will reduce it in the post-production phase. At this moment I just want to make sure I remember and understand every piece of the code :-)
SCJP 6
Pedro Kowalski wrote:BTW: I think that if you must add a comment to the private variable and not to the method which operates on it
Pedro Kowalski wrote:
PS. Yea, thanks - I'm just struggling with the choices.txt which is over 55kB right now... B
Robusta Web Library : Open Source for REST & Java
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|