On Sun, 23 May 2021 at 19:50, Chris Angelico <ros...@gmail.com> wrote:
>
> On Mon, May 24, 2021 at 3:38 AM Marco Sulla
> <marco.sulla.pyt...@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.

Ok, but the point is that renaming a variable is always a problem. I
check the result of renaming twice even when I use Java with Eclipse.
It seems to me that modern languages and programming strategies tend
to make refactoring as easy as possible.

>
> Language features shouldn't be dictated by poor tools, nor by poor codebases.
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at 
> https://mail.python.org/archives/list/python-ideas@python.org/message/6O6NDZBOWAI6DK7623HHIC7OESQ46KWV/
> Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/ZEQUNJFDFCPFXH5OMSK3Z2NYN76HUAUK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to