> I like the code as is. Do you really prefer to ignore important return values in the discussed function?
> Such error checks and magic numbers are messy. Is it safer to detect exceptional situations as early as possible here? Regards, Markus
> I like the code as is. Do you really prefer to ignore important return values in the discussed function?
> Such error checks and magic numbers are messy. Is it safer to detect exceptional situations as early as possible here? Regards, Markus