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

Show parent comments

0

u/[deleted] Mar 22 '22

[deleted]

-14

u/dcfan105 Mar 23 '22

Or they'd just (rightfully) get fired as soon as management realized what they were doing.

9

u/[deleted] Mar 23 '22

In 10+ years working in the field, i can say it like this. There is 2 types of people in avg non specialized or big companies, one is people like this who make money, and other is people who actually works and hope they will get hired into one of those big companies.

10

u/psioniclizard Mar 23 '22

You are making the assumption management care about how anything works. They normally don't. I have generally found that management has a "if it ain't broke don't fix it" mentally and only really care when it does break.

I'm not saying it's right but it's how management are. Also firing people of generally not a great way to motivate staff or get them to pass knowledge on.

1

u/dcfan105 Mar 23 '22

That will depend on the company.

-6

u/jjschnei Mar 23 '22

Terrible way to get promoted. Our company also does peer performance reviews. You may hang on to your job if you’re lucky, but you won’t move up.

0

u/[deleted] Mar 23 '22

[deleted]

1

u/jjschnei Mar 23 '22

I wasn’t referring to the older person at AT&T. I’m referring to what OP’s colleague did with their code.

I agree AT&T person should keep everyone else in the dark as long as possible. Age discrimination is real and software eng is a hard career in the sense that everything is always changing out from under you.