Welcome Guest, Not a member yet? Register   Sign In
Does this small piece of code seem ok?
#8

(10-30-2015, 10:10 AM)iamthwee Wrote: With a random 16  alphanumeric string, I don't even check if it is duplicated. The chances are too low. If you're still worried increase the string length.

Just because the changes are low does not mean you should ignore the fact it CAN and at some point WILL happen. You can't cover every single scenario in programming, but to ignore something like this that is quite easy to avoid is just bad practice. But that is my opinion Smile
Reply


Messages In This Thread
Does this small piece of code seem ok? - by PaulD - 10-30-2015, 09:02 AM
RE: Does this small piece of code seem ok? - by Martin7483 - 10-30-2015, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB