Ideally Docker would support a lockfile format so you don't have to manually manage the hashes. I'm still surprised how commonly people use named Docker tags when Docker Hub let's you mutate the corresponding image.
In the meantime, the article is right that you should use the full-length digests for situations where you care about reproducibility.