Brilliant exception handling I found in an app i had to work on

  • CrashTestDummy
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    As ugly and stupid this feels, everyone here at one point or another is guilty of this. Some “temporary” code to place a breakpoint on cause you gave up trying to understand why the five thousand line function called compareVersion keeps throwing an exception trying to compare 1.0 to 2.0.