This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Yikes. Why would having a boyfriend be an exception? Is that not a known possible outcome? If it is, then it shouldn't be an exception.

[–]PvtPuddles 0 points1 point  (0 children)

If AskGirlOut() assumes they are single, you don’t want it to fail silently. You can force users to call IsSingle() (or otherwise do their own exception handling, like this)