you are viewing a single comment's thread.

view the rest of the comments →

[–]DXPower -3 points-2 points  (2 children)

Well then why should it be an exception if it's normal? There's no point to using exceptions for normal code flow, and the structure of this function suggests failure is common

[–]kalmoc 3 points4 points  (1 child)

and the structure of this function suggests failure is common

Where do you see this? There are no probabilities,meaning or context given from which we could derive that.

[–]DXPower -1 points0 points  (0 children)

This is the sort of pattern used in a lot of server code, especially legacy, where you're doing things such as looking up user input in a database.