7 points · by mooreds · 11y ago · 3 comments
Requiring functions to declare their exceptions in the REPL seems like an odd decision though (particularly given that the shell will automatically catch exceptions). I wonder why they didn't just assume "throws Exception" or even the actual thrown Exception, given that they are able to infer it and these functions won't be overridden.