4 ms·
Try and catch are weird. Without reading the language reference it looks like try can be used directly as a statement (in the while conditional) or left alone
by UncleEntity 4y ago
Try and catch are weird.
Without reading the language reference it looks like try can be used directly as a statement (in the while conditional) or left alone and later used by catch (with ’!’ as sugar). Or maybe try is an unary expression which returns false or the successful result. Either way not how I’ve seen it used before, too much going on behind the curtain methinks.