• Sauron (unregistered)

    Those exceptions are like Pokémons: gotta catch'em all, but also gotta else'em all.

    At least in theory. After all, life is full of broken promises.

  • L (unregistered)

    Comment held for moderation.

  • kythyria (unregistered)

    There is one case (besides a weird homegrown framework) where this might almost be not a wtf: IndexedDB has a promise-based API too. But that API has some oddities of its own: transactions are ended not any of the normal ways (explicit method, on GC, function passed in returns), but instead whenever returning to the event loop without an operation pending.

  • (nodebb)

    I once was asked to help on a Mac app derived from a UNIX app (this was in the 90s before MacOS X). At every level of a deeply nested program structure was an alert to show if the lower call ran out of memory (which would have been unlikely on UNIX). When the app ran out of memory on MacOS (in those days, there was no VM), it tried to plaster the screen with OOM alerts, which then crashed the system. Those who fail to handle out-of-memory shouldn't throw alerts.

  • Naomi (unregistered)

    TRWTF remains the moderation system.

  • (nodebb) in reply to Naomi

    @Naomi, you're talking about @L's post? The one that doesn't have the grey diagonal slashies as a background like actual held-for-moderation posts have?

  • Naomi (unregistered) in reply to Steve_The_Cynic

    I'm talking about the same thing L is - the false positive rate. (When I wrote that comment, there were four held messages, and mine was held as well.)

  • (nodebb) in reply to Naomi

    Ah, OK, sorry. By the time I got there, they were all gone, and yours had been approved.

  • Tom Passin (unregistered) in reply to mynameishidden

    The remedy for this is to create a pre-allocated emergency dialog (been there, done that).

  • Loren Pechtel (unregistered)

    And we know how that the load and display routine doesn't have a fallback for no connectivity?

    The real WTF is the select all squares garbage it just gave me. So many of those are problematic about items that just cross the edge of the square.

Leave a comment on “Catch or Else”

Log In or post as a guest

Replying to comment #:

« Return to Article