Here's a gotcha from years past:
Our AGC/SCADA system was written mostly in FORTRAN. While making a very small modification to a piece of code I did a small reformatting to correct bad indentation. In the process, one line became one character longer. In those bygone days, columns 73-80 were reserved for line numbers (at one time punch cards used this formatting) even though line numbers were not used on disk based files.
Assembler modules could be called with missing parameters by using commas with no values such as
CALL SOMECODE(p,x,v,,,,,,,,m)
Unfortunately, in my case, the call was very long and spanned two lines so one of the commas got pushed into column 73 and was therefore ignored by the compiler. That completely broke the code in a way that took two weeks of debugging to figure out (a visual inspection showed nothing wrong).
Short version - be very careful when refactoring.