Today I spent 20m figuring out why adding error-checking to an error-free program had caused an error to occur without fail. Turns out if you don't wrap the handler of an exception-handler in a lambda, it evaluates right away. I've only used this construct for *checks watch* 28 years. AMA about PL.
@shriramk would it have been better in Haskell?
@mort Oh lord, I just came off this discussion on Twitter (-:. No. <-;
as someone who knows very little about PL, I figured that was about the most generic PL question I could think of :)
@mort It is certainly the most troll-y PL question one can ask. (-:
@shriramk aha! Noted…