• 1 Post
  • 32 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle




  • https://thedailywtf.com/articles/gotta-catch-em-all

    Dear God.

    try
    {
        /* ... some important code ... */
    } 
    catch (OutOfMemoryException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (OverflowException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (InvalidCastException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (NullReferenceException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (IndexOutOfRangeException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (ArgumentException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (InvalidOperationException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (XmlException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (IOException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (NotSupportedException exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    catch (Exception exception)
    {
        Global.Insert("App.GetSettings;", exception.Message);
    }
    











  • Maybe I misunderstood your comment. I’m talking from the layman’s perspective looking for a stable build of whatever the software is.

    "

    Anything outside of code repository stuff is outside their lane

    " sounds like you’re talking about non-technical users when that was the context of the original comment. I understand what you mean now though, and I somewhat agree.