01-20-2015, 03:15 PM
It's not a bad match nemyax ... it's a reminder to the future coder ... to use the function properly.
But again ... it is done as much as is needed. Maybe guard 1 of 3 parameters for clarity. Maybe 2, maybe none. Freedom.
All the bugs happen at runtime. Bad match is as easy as any to debug. Leaving the guard off may allow the crash dump to be longer.
But again ... it is done as much as is needed. Maybe guard 1 of 3 parameters for clarity. Maybe 2, maybe none. Freedom.
All the bugs happen at runtime. Bad match is as easy as any to debug. Leaving the guard off may allow the crash dump to be longer.