Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+33 votes

For the helper method in Hannaldous, are we able to change the return type from String to boolean? I do not see the point in returning "y" and "n" and I think it just further complicates what the method is doing.

asked in CSC285_Fall2018 by (8 points)

1 Answer

+17 votes

Absolutely. Returning "y" or "n" is horrible coding style!

answered by (17.9k points)
...