r/JavaProgramming • u/jrkmk20268186 • Aug 19 '26
He canceled our third date last minute, should
Said something came up at work, apologized a lot, offered to reschedule right away. First two dates were genuinely great. Is one cancellation with a good excuse worth writing someone off or should I give it another shot?
13
9
9
u/idontlikegudeg Aug 19 '26
It’s good that you caught this and not silently ignore the exception. If you think it is a temporary failure, define maximum the number of retries. If you reach the maximum number of retries you committed to before, throw it to the next level so a graceful exit is possible. You should never simply System.exit() because you don’t know what other problems this could leave behind.
If things like this happen constantly with different dates, there might be a deeper problem. But take it slow, you don’t want to cause a the process to dump.
3
u/AgeingCoder Aug 19 '26
Might be worth implementing a retry strategy based on the fibonacci sequence to avoid bombarding them with requests. Might just need some time..
5
u/Lazy-Blueberry-963 Aug 19 '26
He probably had to support for deployment or something 😜
Give him another chance and see how your 3rd date goes as you already liked the first two
4
u/Dear_Archer3931 Aug 19 '26
Try putting in a break point and check the value of the Boolean doesHe.likeMe
Report back.
3
2
u/verysmallrocks02 Aug 19 '26
yeah fuck that guy
probably some Java 6 loser who can't even use streams
1
1
1
19
u/soft_white_yosemite Aug 19 '26
r/lostredditors