Despite its flaws, SAS is not a bad programming language. The problem with SAS is that Python, R, and Julia are just great programming languages. SAS's popularity might be decreasing, but like all things in this domain, this is going to happen gradually and overtime .