r/ProgrammerHumor • • Oct 16 '26

Meme theBugReportsWillBeOutOfThisWorld

Post image
413 Upvotes

29 comments sorted by

View all comments

Show parent comment

73

u/Mountain-Ox Oct 17 '26

You've got to base64 encode a secure number of times.

I've seriously seen it in code where credit card data was "encrypted" by base64 encoding like 11 times. My first job, the guy who wrote it was basically a wizard to my bosses. I learned nothing from that job except what not to do.

46

u/rishi255 Oct 17 '26

To be fair, learning what NOT to do is really important, arguably more than learning what to do

14

u/slowmovinglettuce Oct 17 '26

I always tell juniors the best way to learn how to write good code is first writing bad code. You'll find out each time you go back to maintain it just how terrible it was, and you'll understand how far you've come.

11

u/candybrie Oct 17 '26

I love when I go back to old code, think "who in the world wrote this??" and find out it was me a year ago. Definitely shows me I'm actually learning.

7

u/slowmovinglettuce Oct 17 '26

When you do a git blame out of anger and just sit there looking at the entire file being your handiwork. Its always a good feeling when you think past you was a muppet.

1

u/ganja_and_code Oct 17 '26

Very true.

If you don't know what to do, you don't get a good result. If you don't know what not to do, you get a bad result.

Being unproductive isn't great, but being counterproductive is certainly worse.

4

u/Zeikos Oct 17 '26

My first job, the guy who wrote it was basically a wizard to my bosses.

Classic management blunder of seeing higher complexity as better.

Those workplaces become hell on earth to work on.