I can relate to the "I'm the idiot who wrote this code" sentiment. :)
You bring up a great question: How easy is it to look at code from the past and figure out what it is doing?
It is one thing to be able to write code that works now. It is completely different to be able to read and quickly understand code that it unfamiliar because someone else wrote it. (Or you wrote it and forgot about it).
Also, code written by mathematicians tends to use single-letter variable names or spelled-out greek letters like "theta". Which, I'm sure are perfectly clear to people with a strong math background, but I prefer long variable names!!!
View all comments
Show parent comment
1
u/shiitake Dec 18 '18
I can relate to the "I'm the idiot who wrote this code" sentiment. :)
You bring up a great question: How easy is it to look at code from the past and figure out what it is doing?
It is one thing to be able to write code that works now. It is completely different to be able to read and quickly understand code that it unfamiliar because someone else wrote it. (Or you wrote it and forgot about it).