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
119
u/biggamax Mar 22 '22 edited Mar 22 '22
Going to play the Devil's advocate here. Although it's likely the coder/work you're slagging off publicly deserves it, you're coming in after the fact and armchair quarterbacking. Criticizing the guy/code is low hanging fruit. Getting to work and improving the situation (instead of venting on Reddit) is where you can show real value.
What you haven't told us:
- What requirements was the dev working against?
- What timeline did the dev work under?
- Did the dev have enough help on his/her team?
- Was there intentional tech debt for a good reason that was beyond his/her control?
- Was the dev spread thin on many tasks, or was this code his/her sole responsibility?