It's often poorly explained, I completely agree, but people forget that even Planck introduced his constant just because it made the data fit. It turned out to be arguably the most fundamentally important constant (along with its reduced form) in all of physics.