~ Neil (SCJP)
Sandeep
Sandeep
Pushkar Choudhary wrote:
My code did not have ANY comments inside a method. When I talking about comments, I was referring to the class-level and method-level comments which describe what that class or method does. Something like this:
Apart from this, there were no comments inside any methods.
They also provided their feedback for the code.
The feedback had 2 comments, one of which was "Too Many Comments. More comments than code."
Pushkar Choudhary wrote:Ok. Maybe I didn't mention clearly. Let me try once more.
My code did not have ANY comments inside a method. When I talking about comments, I was referring to the class-level and method-level comments which describe what that class or method does. Something like this:
Apart from this, there were no comments inside any methods.
Ask them if they can provide more details on the feed back by providing them your opinion.
Sandeep
JavaRanch Granny wrote:Debug only code - comments can lie.
Pushkar Choudhary wrote:Ok. Maybe I didn't mention clearly. Let me try once more.
My code did not have ANY comments inside a method. When I talking about comments, I was referring to the class-level and method-level comments which describe what that class or method does. Something like this:
Apart from this, there were no comments inside any methods.
Even better, for me, would bebecause then isPassingScore is testable in isolation, *and* eliminates the need for a comment.Mike Isano wrote:
Paddy spent all of his days in the O'Furniture back yard with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|