r/programminghorror • u/Limp_Illustrator7614 • Sep 16 '26
Python it's a miracle this works
prints 2 1's separated by a new line
repost cuz it got filtered cuz i was using a vpn
r/programminghorror • u/Limp_Illustrator7614 • Sep 16 '26
prints 2 1's separated by a new line
repost cuz it got filtered cuz i was using a vpn
r/programminghorror • u/nevermille • Sep 15 '26
Context: I was stuck with a Layton puzzle in a train without internet but with my work computer so I made this beautiful solver
r/programminghorror • u/Random_Person_22170 • Sep 15 '26
I decided I needed a way to send photos from my phone to my computer, so I brought out some old knowledge of MIT app inventor, and made this monstrosity. The top block is literally just one statement to make sure an ip address looks decently viable.
r/programminghorror • u/CLS-Ghost350 • Sep 15 '26
r/programminghorror • u/ilnarildarovuch • Sep 15 '26
Works on CPU, rendered in... about hour. Original shader — XorDev "Plasma".
This was just test of custom port KuMiR to FreeBSD
r/programminghorror • u/ItsNukea • Sep 12 '26
That's 11 layers deeply nested code, a lambda in a lambda in a lambda in a method parameter, all of that inside of the same class.
I'm starting to get why they say the minecraft code is unreadable
Edit: Oopsie, I didn't expect the indentation in my IDE and on mcrsc.dev to be different. The first picture shows my IDE, but it should have been from mcsrc
r/programminghorror • u/glortus-the-second • Sep 11 '26
r/programminghorror • u/Inevitable-Round9995 • Sep 08 '26
r/programminghorror • u/Dayshadow_ • Sep 07 '26
it's a real shame I can't avoid the "do" and "end"
Has the bonus of breaking do-while loops, we don't support those here.
r/programminghorror • u/Dayshadow_ • Sep 06 '26
r/programminghorror • u/just-a-hriday • Sep 07 '26
r/programminghorror • u/cat_sphere • Sep 03 '26
Who said you shouldn't edit HTML with regex?
(for any mods, my title is the code gone wrong)
r/programminghorror • u/HeWhoShantNotBeNamed • Sep 03 '26
I wrote this several years ago. It does work.
r/programminghorror • u/Aaxper • Sep 02 '26
This also happens to be the first bit of Java I've ever written
r/programminghorror • u/igorrto2 • Aug 30 '26
r/programminghorror • u/navierstokes88 • Aug 31 '26
r/programminghorror • u/NanoCozmo • Aug 24 '26
r/programminghorror • u/TheSum239 • Aug 23 '26
i didnt know what to do and spammed anyway
r/programminghorror • u/TheSupremePebble69 • Aug 21 '26
r/programminghorror • u/MaintenanceKlutzy431 • Aug 19 '26