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

20

u/vladamir_the_impaler Mar 22 '22

We had a guy who wasn't an asshole, but he definitely architected systems to where he was basically the only one who could make things work and this did indeed result in job security for him.

Everyone non-technical thought he was just some badass running everything and that we really needed this guy when in reality he had designed things to be this way and none of the other devs cared enough to either say anything about it or try to change it.

Two days after this guy would go on vacation shit would start failing and breaking and they'd have to call him and get the low down on how to fix what was broken. I swear this guy must've had dead man switches on things to where if he didn't run certain manual processes every few days layers of the system would just stop working, and more would fail as more days passed.

After some years went by and modernization as well as some other changes took place I think they finally got tired of dealing with this BS and ended up hashing out why things were breaking when he wasn't around and how to re-do things so that it didn't happen anymore.

He's now in management and I've heard they are trying to get rid of him.

4

u/[deleted] Mar 23 '22

but he's in charge of all the paperwork XD