2 ms·
I was listening to a developer podcast and one of the hosts (Jeff Roberts?) had the right idea about version checks... Never allow developers to read the versi
by wmil 11y ago
I was listening to a developer podcast and one of the hosts (Jeff Roberts?) had the right idea about version checks...
Never allow developers to read the version number. Instead have a function where they pass in the version number and get a boolean about whether or not it's supported.
It's really the only way to avoid code problems like this.