Skip to content

Comment on Java's Original Sinparent

Comments

Sorry, away for a bit and didn't see your reply.

> But checked exceptions seem unavoidable, as you can't (practically) avoid calling all the Java API methods that throw them.

Yes, that's what I mean by "at the edges". You can't avoid hitting the ones built into Java but you can stop them penetrating into your own code with a simple try / catch that wraps them with RuntimeException.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.