922

Am baby

My code is disgusting 🫠

But I'm getting better every day!

top 50 comments
sorted by: hot top controversial new old
[-] LanguageIsCool@lemmy.world 1 points 4 hours ago

Mad respect

[-] noddy@beehaw.org 8 points 5 hours ago

I'd also add this reason (in addition to embarrasement): I don't open source my stuff because I know microsoft will "steal it" to train copilot.

[-] GreenKnight23@lemmy.world 2 points 10 hours ago

I have written so many scrapers in my life that would have probably helped thousands of people.

it was all for porn though. they shall never see the light of day.

[-] Petter1@discuss.tchncs.de 4 points 12 hours ago

Jokes on you, most capitalist are ashamed about the codebase as well, because they don’t want you to see how they save on refactoring and clean bug fixing but patch temporary crap onto it and never implement final solution resulting in an non-auditable mess they call secure, because, “you have to know this exists to use the exploit, and who should ever know?!”

[-] finitebanjo@lemmy.world 3 points 12 hours ago

POV: People looking through the comments on my code:

    // This fucking piece of shit right here, I tried like 8 versions of the Library and only this one works which was incompatible with some other shit that's not here anymore

    // and I have no fucking clue why it needs to be divided by 3 but it does even though its supposed to be a memory stream, I have a flag set here if it crashes because I'm just about certain there will eventually be some undefined behavior

   //EDIT 07-15 :  I have commented it out because I noticed everything actually runs fine without it, for now.

    // EDIT 07-18 : Oh actually it appears that the other solution which didn't use to work is now working which is why everything appears to work as long as both solutions to this problem don't simultaneously fail.

    //  EDIT 09-02 : I need to start making comments like "this variable comes from" or "I named it this because" so I know what the fuck I'm looking at.
[-] jve@lemmy.world 3 points 11 hours ago
git history
[-] Xylight@lemdro.id 4 points 13 hours ago

Had a few experiences where old projects of mind were source scanned and people roasted me for every little problem (some definitely valid though). I rarely open source my little projects now.

[-] Petter1@discuss.tchncs.de 3 points 12 hours ago

Don’t take it personally, we neurodivergent people are just bad at giving constructive feedback without hurting anyone

[-] andioop@programming.dev 1 points 3 hours ago* (last edited 3 hours ago)

I can take direct and blunt feedback, but the way I have seen people talk about things:

[projectname] is dogshit

makes me terrified to open repos. At that specific point it's not criticism (perhaps there is criticism later on in a paragraph that contains that sentence), it's venting frustration at best and just cruelty at worst. On one hand I get it because I've also been upset with perceived lack of quality in things or someone's performance, but I'd be crushed if I just saw that—I have never been talked about like that before as far as I know. I can handle "your code is bad because X". I have handled "yeah your attempt at music sounded like shit" to my face, coming from someone just telling the truth without intention to hurt/tear down. But from strangers online, whose intentions I do not know…

On the other hand I have been told both in-person and here on programming.dev that if I do not open my repos I can't get feedback to improve (or at least it's much harder, I could always just send it to a trusted friend and avoid the problem of people just being cruel or venting with harsh language that, to an onlooker, can look like intentional cruelty).

[-] Digit@lemmy.wtf 11 points 22 hours ago

My code is inept.

I release it with a free software license anyway.

E.g: https://lemmy.wtf/post/26550037

[-] Magnum@lemmy.dbzer0.com 1 points 4 hours ago

Please don't, no one wants your code largly written by a LLM.

[-] regedit@lemmy.zip 55 points 1 day ago

You don't open-source your code because you're embarrassed by it.

I don't open-source my code because I don't understand how git works.

We are not the same.

[-] SatouKazuma@programming.dev 7 points 1 day ago

I am ashamed to say that it took me far longer than it should have for me to understand what the hell I was doing with Git.

[-] regedit@lemmy.zip 6 points 1 day ago

But you did it! You understand it and that's pretty rad. Every victory, no matter how small, is still a victory!!

[-] SatouKazuma@programming.dev 5 points 1 day ago

That's one way of looking at it haha. Nice username btw.

[-] regedit@lemmy.zip 3 points 5 hours ago

Thanks, haha. All your hives are belong to me!

[-] SatouKazuma@programming.dev 1 points 3 hours ago

Have at it. My hives are like my brain in that they're entirely void of any signs of intelligent life. 😂

[-] MonkderVierte@lemmy.zip 11 points 1 day ago

I have multiple 200+ loc shell scripts with their own little built-in changelog-parser because i rather did that than setting up the server i've built already.

[-] biotin7@sopuli.xyz 3 points 1 day ago

I found this website, it helped me learn about Git in a quick way, it's not perfect, but hey at least no javascript😉

[-] regedit@lemmy.zip 2 points 5 hours ago

Thanks. I'll try to check it out when my ADHD meds kick in here in a bit! (not sarcasm)

[-] HeyThisIsntTheYMCA@lemmy.world 18 points 1 day ago

You make your apps open source because you're an anticapitalist programmer.

I make my apps open source because I'm a cook and worry about allergies.

We are not the same.

[-] InternetCitizen2@lemmy.world 81 points 1 day ago* (last edited 1 day ago)

Upload it anyway and poison the training data

[-] Zoomboingding@lemmy.world 21 points 1 day ago
[-] anomnom@sh.itjust.works 3 points 1 day ago

Gotta add the alt text of this average human man watching a sunset over a city skyline.

[-] Buddahriffic@lemmy.world 6 points 1 day ago* (last edited 20 hours ago)

Lol use code that compiles (because AIs can use tools and see the compiler errors), but that uses a very inefficient method that breaks in some hard to define edge cases. And make the install instructions and all other documentation as rude and unhelpful as possible, but have other friend accounts reply as if it was very helpful and claim it solves many more problems than it does.

Edit: improved wording

[-] InternetCitizen2@lemmy.world 6 points 1 day ago

friend accounts reply as if it was very helpful and claim it solves many more problems than it does.

Wow this makefile helps me talk with girls

load more comments (1 replies)
[-] criticon@lemmy.ca 84 points 1 day ago

Many years ago I made a library for Arduino to control an 8x8 LED matrix to display running text. It was not very clean but I like it enough to upload it to the forums (I couldn't find anything similar). One week later it was complely different to what I uploaded and it was super efficient and a bunch of people added new functions and availability but my name still appeared as a main contributor. Of course I put it on my CV and showed it to my professors!

[-] Landless2029@lemmy.world 5 points 21 hours ago

This is a fantastic example of the benefits of open source and contributions

[-] ArsonButCute@lemmy.dbzer0.com 35 points 1 day ago

This is encouraging!

[-] ViatorOmnium@piefed.social 33 points 1 day ago

I don't make anything open source because one of my projects became semi popular and I had to give it away for the sake of my mental health.

Some people seem to think that open source means they have the right to demand free labour and harass people for it. That, and university students that want people to do their homework instead of RTFM.

[-] saltnotsugar@lemmy.world 61 points 1 day ago

This is why I wrote bat_count.py. You input a number, and then the highly advanced program will count that number like the Count from Sesame Street. Example output for 3:
One…one bat.
Two…two bats.
Three! Three bats. Ah ah ah ah!

[-] HeyThisIsntTheYMCA@lemmy.world 5 points 1 day ago

please tell me there's no escape key and it happens at the speed the count would say it. i have ideas for pranks.

[-] saltnotsugar@lemmy.world 6 points 1 day ago

That’s correct. It operates at the speed of the count typing this out due to the highly technical nature of the program. There is also no limit so you could put ten billion in there for example.

[-] HeyThisIsntTheYMCA@lemmy.world 4 points 1 day ago

so how do we get this included in the next version of windows

[-] troyunrau@lemmy.ca 29 points 1 day ago

Do you have a program to help you count sheep to fall asleep? Asking for a friend

load more comments (2 replies)
[-] palordrolap@fedia.io 4 points 23 hours ago

Most of my stuff is badly hacked together "runs on my machine" code. If I released any of it onto a public repository, I'd then be on the hook for maintaining it and making it run on more than just my machine, or else examining, deconflicting, and merging pull requests where other people have done the work. I really don't have what it takes for all that.

[-] Korhaka@sopuli.xyz 8 points 22 hours ago

GPL has no maintenance requirements

[-] palordrolap@fedia.io 4 points 19 hours ago

The GPL doesn't control how guilty I'll feel if I don't.

[-] Korhaka@sopuli.xyz 2 points 11 hours ago

Make your bad code public, it might help train an LLM

[-] perishthethought@piefed.social 34 points 1 day ago

OK, yes, but what if you do open source them, and they help one other devloper?

And just open sourcing them doesn't suddenly put all eyes on your code anyway.

load more comments (3 replies)
[-] ZILtoid1991@lemmy.world 12 points 1 day ago

Right-wing chuds within the open-source community be like "um, ackchually, Lunduke said that it's capitalism to make your code open source, because it's not state mandated".

[-] ArsonButCute@lemmy.dbzer0.com 5 points 1 day ago

I used to watch Lunduke's linux Sucks speech every year it came out. What happened to that guy? Was he always the worst and I didn't notice til 2020?

So what? The best outcome is that someone issues a pull request that teaches you how to do what you did in a "better" way. The worst outcome is that someone starts using your code in an LLM and vibecoders learn your style.

[-] cassandrafatigue@lemmy.dbzer0.com 1 points 22 hours ago

I don't understand your username. Like that's some kind of exception?

[-] ArsonButCute@lemmy.dbzer0.com 1 points 18 hours ago

I'm not sure I understand the question

[-] cassandrafatigue@lemmy.dbzer0.com 1 points 14 hours ago

Cake but tasty, kittens but adorable, arson but cute?

[-] ArsonButCute@lemmy.dbzer0.com 1 points 14 hours ago

Oh, well I mean, arson isn't normally cute is it?

[-] cassandrafatigue@lemmy.dbzer0.com 1 points 13 hours ago

What did i say!?

load more comments
view more: next ›
this post was submitted on 02 Dec 2025
922 points (98.5% liked)

Programmer Humor

27599 readers
2711 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 2 years ago
MODERATORS