r/learnprogramming • • 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

427 comments sorted by

View all comments

1

u/ramp_guard Mar 23 '22

Question: How did that guy get his job and what arguments would you give that could speak for him keeping that job?

1

u/whatsasyria Mar 23 '22

I feel like everyone thinks the only tech jobs are at massive software companies. Most tech jobs are your mid market companies with 5 IT guys led by some guy in finance from the 50s.

1

u/ramp_guard Mar 23 '22

Actually I dont care for FAANG, cause there is no chance I will end up working for any of them.. so... I was just wondering how you can "forget" comments in code when you're making a living from coding..

2

u/whatsasyria Mar 23 '22

You'd be surprised how these old tenured guys work. My last team (that I inherited)..... 10+ years tenured. Dudes were pitching progress and 4gl because they didn't want to notate or document any business process or specs. Literally on an erp from 1995 and it's a 2bn company.