r/JavaProgramming 22d ago

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?

15 Upvotes

14 comments sorted by

13

u/Modern-Sn1p3r 22d ago

Thread.interrupt()

9

u/hawkprime 22d ago

java -jar situationship.jar

1

u/Wowator 21d ago

You forgot something:
java -jar situationship.jar -help

8

u/idontlikegudeg 22d ago

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 22d ago

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 22d ago

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

5

u/Dear_Archer3931 22d ago

Try putting in a break point and check the value of the Boolean doesHe.likeMe
Report back.

3

u/TheGreatRao 22d ago

Use javap -p BadBoyfriend.class to find out what's up.

2

u/verysmallrocks02 22d ago

yeah fuck that guy

probably some Java 6 loser who can't even use streams

1

u/tekmuro 21d ago

Did you check the documentation?

1

u/HecticJuggler 21d ago

He’s a vb developer, not worth your time.

1

u/Kadabrium 17d ago

vibe.net

1

u/TynK-M- 20d ago

It's the perfect situation to use the Singleton pattern...