I agree with the above discussion, but thought I should share a bit on an anecdote around a piece of my own code anyway.
At university, we were supposed to include code dumps in reports for a certain course. Obviously, I never expected anyone to actually READ page after page of badly formated MATLAB code from more than 30 students every other week. But then one day it happened.
On the middle of a page, I got a small remark from the TA in red ink, next to the line:
Code: Select all
epsilon = 1e-4; % Note to self: Do Not Ever Name A Variable eps !!! (Debugging time 4.5 hours)
The comment was: "Yeah... been there
"
In MATLAB, eps is the floating point accuracy indicator and is overwritten without warning. Messing with it messes with EVERYTHING.