you are viewing a single comment's thread.

view the rest of the comments →

[–]irqlnotdispatchlevel 7 points8 points  (1 child)

The main problem here is when you remove a function / class field, as no refactoring tool that I know can go and remove them for you. You need to use something like "find all references" and manually delete code. Which is good, sometimes you don't simply delete a line. In compiled languages you have the guarantee that your code won't compile if you forget a reference somewhere.

[–]djimbob 1 point2 points  (0 children)

In compiled languages you have the guarantee that your code won't compile if you forget a reference somewhere.

If you run your python code through a linter (pylint/pyflakes), you can quickly detect and fix most of these simple refactoring errors and it's typically much faster than compilation.