in reply to Simplify HoH code

Your "mere page and a half of source code" appears to becoming longer and more-complex the more you try to "improve it." Don't try. What you have written is reasonably easy to understand as-is and the computer won't care. Write a test to thoroughly verify that the existing code works, then close the work-order ticket and move on to the next one.

Replies are listed 'Best First'.
Re^2: Simplify HoH code
by Anonymous Monk on Dec 03, 2017 at 16:50 UTC
    that doesnt make sense, did you read the question?
    A reply falls below the community's threshold of quality. You may see it by logging in.