In Pycharm, when we use a variable, for example. $privateKey we get a warning Using a simple variable as shown below snapshot and recommend that we refer to the syntax ${privateKey}
My question is why do we get such a warning? What is the risk of using a simple variable?

By clicking more

source share