r/learnprogramming • u/BullCityPicker • Mar 22 '22
Don't be that guy.
I just took over a project for a guy who left. Don't be this guy:
ZERO comments in your codebase.
One and two character variable names with no discernable pattern.
Comment characters used to comment out big chunks of code for no discernable reason.
No error checking.
Reliance on data files that you forgot to include or explain, going in to meaningless data frame names.
Making outrageous claims about how much your code improves things with zero baseline performance.
People like this think you're an idiot because you can't make their code work, and get to be all smug. We will track you down and find you. You will need references someday....oh my.
2.6k
Upvotes
2
u/psioniclizard Mar 23 '22
Those are not super neat naming and honestly sound like methods that are doing to much. Honestly not to be mean but it sounds like the structure of the codebase is at fault.
You should not have methods that do so much, instead the caller should be chaining these together. I'm pretty sure that is the fundermental issue and I don't see how comments will fix that.
Also how often do you move codebase from SVN to git? That would really be an edgecase and I'm guessing dealing with legacy software, which needs to be handled specially anyway.