this post was submitted on 27 Oct 2025
376 points (99.7% liked)

Programmer Humor

27092 readers
1009 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
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona@programming.dev 30 points 22 hours ago (4 children)

I tried using AI in my rust project and gave up on letting it write code. It does quite alright in python, but rust is still too niche for it. Imagine trying to write zig or Haskell, it would make a terrible mess of it.

Security is an afterthought in 99.99% of code. AI barely has anything to learn from.

[–] wiegell 1 points 8 hours ago

Mitchell Hashimoto writes a lot of Zig with AI (and this interview is almost a year old), see: https://www.youtube.com/watch?v=YQnz7L6x068&t=490s How long since you have tried tools? I think there has been some pretty astounding progress during the last couple of months. Until recently i did not use it daily, but now I just cant ignore the efficiency boost it gives me. There are definitely security concerns, and at this point you should not trust code that you do not read/understand, but tbh. i'm starting to believe that AI might (at least in the short term) free up resources to patch stuff and implement security features, that otherwise was not prioritised before due to focus on feature development. What it does to the IT sector in the long run - who knows...

[–] krooklochurm@lemmy.ca 33 points 22 hours ago (2 children)

If you're using Hannah Montana Linux you can just open a terminal and type "write me ____ in the language ____" and the Hannai Montanai will produce perfectly working code every time.

[–] jaybone@lemmy.zip 15 points 21 hours ago (1 children)
[–] krooklochurm@lemmy.ca 19 points 21 hours ago

Hannah Montana Linux is serious business. I would never joke about Hannah Montana Linux.

[–] Archer@lemmy.world 5 points 21 hours ago

If this isn’t real then someone is going to make it

[–] buddascrayon@lemmy.world 5 points 17 hours ago

It does quite alright in python

That's cause python is the most forgiving language you could write in. You could drop entire pages of garbage into a script and it would figure out a way to run properly.

[–] funkless_eck@sh.itjust.works 3 points 15 hours ago

Even in Python you have to keep it siloed. You have to drip feed it pieces because if you give it the whole script it'll eat comments, straight up chop out pieces so you end up with something like

 def myFunction():
      # ...start of your function here...

replacing actual code.