Day 16: Exceptions - String to Integer

  • + 12 comments

    This is a ridiculous exercise! It needs to ignore the comments. I had the code in my Java try/catch block commented and it would fail the test, even though it was obvious the exception was being handled and that the output was correct.

    When I removed the comments, the tests passed. Completely absurd! The test parser should be smart enough to ignore comment lines. Is this really the best you can do HackerRank? I'm really unimpressed.