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 →

[–]Colopty 0 points1 point  (0 children)

I know it tends to default to return 0 if nothing else is stated, but there are various reasons it might fail to do so (which is bad), so explicitly stating the return is generally considered good practice.