This is a surprisingly common anti-pattern. See also potential reason why there was no Windows 9 (programs checking for Windows 95&#x2F;98) and various breakages for commercial programs on Linux when they check the kernel version.