General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
ThePrimeTime
comments
Comments by "" (@adambickford8720) on "Why I Prefer Exceptions To Errors" video.
No, because checked exceptions still send the control flow to outer space. Errors as values come back to the caller.
7
Nope, control flow is the key. Exceptions are still worse.
6
If their devs are this dishonest, can you imagine their marketing team?
1
Not really: var nullOrValue = Try.of(() -> "foo") .mapTry(this::someExceptionThrowingMethod) .mapTry(this::randomNPEMethod) .getOrElseGet(null);
1
@youtubeenjoyer1743 Your experience is very limited
1
@yyny0 Despite your confidence, it can in java at the very least: Thread.currentThread().getStackTrace() and that can be put into any kind of return value.
1