News for hackers. Stuff that matters.
Re:You’re better off using Exceptions by noisem4ker on Monday February 03, 2020 @02:24PM (#22227913)
In Java, you can obtain a throwing version of anything returning an Optional type:

Optional<Womp> getWomp() {...}

Womp womp = getWomp().orElseThrow();

There are no comments on this comment yet.