
May 23, 2021
5:47 p.m.
On Mon, May 24, 2021 at 3:38 AM Marco Sulla <Marco.Sulla.Python@gmail.com> wrote:
Do you yearn for actual refactoring tools - which do exist?
Renaming tools of IDE do not work in 100% of the cases. For example, if you have _variable in an eval string, it's not replaced.
Another reason not to use eval.
I completely agree, but the world is not perfect. Another example is the use of the _variable in a f-string.
f-strings are code, and should be treated as code by any decent refactoring tool. Language features shouldn't be dictated by poor tools, nor by poor codebases. ChrisA