• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Credit card helper

#1
[eluser]jmadsen[/eluser]
it's just a function to find the credit card name based on the card number.

there are a lot of them out there, but I found them to be buggy, no unit tests, too concerned with using clever techniques to be fast & reliable, or just plain ignored basic concepts like "Don't try every card under the sun before checking for Visa or Master Card "

I'm sure there's room for improvement, although I'm not so interested in shaving a few milliseconds by using a regex instead of a substr, or things like that.

https://github.com/jrmadsen67/credit_card_helper


Messages In This Thread
Credit card helper - by El Forum - 02-19-2012, 06:46 PM
Credit card helper - by El Forum - 02-20-2012, 12:58 AM
Credit card helper - by El Forum - 02-20-2012, 01:16 AM
Credit card helper - by El Forum - 02-20-2012, 01:55 AM
Credit card helper - by El Forum - 02-20-2012, 03:40 AM
Credit card helper - by El Forum - 02-20-2012, 12:55 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.