this post was submitted on 09 Feb 2024
483 points (100.0% liked)

Programmer Humor

421 readers
27 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AceFuzzLord@lemm.ee 10 points 9 months ago (7 children)

I hope I learn some day how to code a bug in python that will not show up in any error messages and absolutely ruins a program. I'd love to find a random program at whatever job I end up at and before quitting just ruin it with a random line of code that doesn't output an error code.

[–] deur@feddit.nl 29 points 9 months ago* (last edited 9 months ago)

What the hell? Thats not funny or anything it just fucks with your ex-coworkers who probably werent the problem, management isnt affected by that.

Pro tip, you seem really arrogant (including some other comments) and you need to tone that down before you enter the industry. Its nothing to be ashamed of and I'm not trying to insult you, you just assume your experiences are way more universally valid than they are.

[–] philm@programming.dev 14 points 9 months ago

Easy, it's just... continue programming in python. (large codebases are a mess in python...)

More seriously: Don't do that, it'll only create headaches for your fellow colleagues and will not really hit those (hard) that likely deserve this.

[–] lseif@sopuli.xyz 8 points 9 months ago

learn C and u will get undefined behaviour for free :)

[–] AAA@feddit.de 7 points 9 months ago

If you're thinking about rage quitting a job you don't even have yet, maybe take a different career from the beginning?

What the hell.

[–] stembolts@programming.dev 6 points 9 months ago (1 children)

It's not hard to do. What would be hard would be getting it through code review. Like the example provided.. how would that ever get through code review for a merge? Must not be a well-protected code base?

[–] maynarkh@feddit.nl 6 points 9 months ago

Publish your own package to PyPI that on import does some evil stuff. Name the package something similar to a known, but not too well known package. Supply chain attacks are even less defended against than other stuff.

All this relies on companies being shit though, but well, we all know that's the case in a lot of places.

[–] Stumblinbear@pawb.social 5 points 9 months ago

That's just called malware

[–] PoolloverNathan@programming.dev 4 points 9 months ago* (last edited 9 months ago)
import os
os._exit(2)