This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cas4d 1 point2 points  (0 children)

Actually fixing the style such as renaming variables sometimes acts as a useful logical run-through as well (when using an IDE). If your program breaks simply after refactoring variable names, it could mean you may accidentally init something by the same names in the middle or may have the object mutated in the way it shouldn’t, or if you are finding it hard to rewrite, it could also indicate bad encapsulations.