this post was submitted on 09 Feb 2024
863 points (97.5% liked)
Programmer Humor
26346 readers
1259 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
learn C and u will get undefined behaviour for free :)
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?
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.
That's just called malware
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.