Hacker News new | ask | show | jobs
by dlubarov 4466 days ago
> Diners was bought by MasterCard

MasterCard didn't acquire Diners, it was just a partnership where Diners cards were branded as MasterCard and processed through MasterCard's network. Later Discover acquired Diners, and now they're processed through Discover's network.

But fair point - brand prefixes occasionally change, and if you hardcode them they'll eventually become out of date.