r/programming • u/Odd-Flamingo-6211 • Jul 17 '26
Maintaining the code of the man who wrote "How To Write Unmaintainable Code"
https://github.com/lexvalo/mini-pad-submitter-revivedToday I accidentally became the maintainer of software that was already almost three decades old: reviving a 1990s Java utility to keep the last PAD submitter alive in 2026.
I was looking for a way to submit my AI app RiverScript to old desktop software directories and ended up digging through the long-forgotten world of PAD files.
There was one problem.
The only batch submission tool I could find was a Java application that first appeared in the late 1990s. The last release was in 2017.
It was written by Roedy Green of Canadian Mind Products – a software developer who passed away in 2023. He spent decades writing and freely distributing Java utilities, and maintaining the widely-read Java Glossary. Roedy Green also wrote How To Write Unmaintainable Code – a famous satirical guide about writing code nobody can maintain. So, Roedy, today the code you wrote almost three decades ago was maintained.
The tool still did exactly what it was supposed to do. Thank you.
It just had absolutely no idea the modern web existed.
It happily produced URLs like http://https://riverscript.com instead of https://riverscript.com, disabled SNI globally (which was probably a perfectly reasonable workaround at some point), and couldn't cope with the fact that almost every website now redirects HTTP to HTTPS.
So I dug through the legacy Java code, fixed the compatibility issues, and got it working again.
I used it to submit my app to several software directories, then published the revived version on GitHub so anyone who still needs it can use it too.
Maybe nobody will ever need it again. Maybe someone will.
Either way, I'm happy this old thing works again.
So today, the code of the man who wrote "How To Write Unmaintainable Code" is still being maintained even after he was gone.
P.S. The public repository for Mini PAD Submitter 26.3 Revived – 2026 Community Fix is available and open to everyone.
P.P.S. At the request of redditors, I also added support for using custom submission directories.
In Roedy's original program, the list of 66 directories was hardcoded, and quite a few of them no longer exist. So I added a sites.txt file next to the application in the dist folder, where you can edit the list yourself – remove the ones that no longer exist and add new ones. The application simply reads the list from that file now, so you don't have to recompile anything.
194
u/dfcowell Jul 17 '26 •
We need more of this. Good story, well told. Thanks for resisting the temptation to reinvent the wheel, and for giving Roedy a little longer before his second death.
55
u/aes110 Jul 18 '26 •
This is honestly beautiful, maintaining a dead man's open source project feels poetic
54
u/RandNho Jul 17 '26
Should have made import and fixes separate commits. Well, there's still time to graft original source...
22
u/zeekar Jul 18 '26
... what's a PAD in this context?!
7
u/AlexanderDoak Jul 18 '26
Oh my goodness... I remember PAD files! I dove into the world of web app directories about a decade ago, and it was very much already dead at that time. Insane that any sites that accepted PAD are even still around. Great story.
2
u/arj-co Jul 18 '26
This is beautiful, good work man 🫡
1
u/StruggleNew8988 Jul 19 '26
Were those pad submissions usually just standalone executables or did they often require a specific runtime environment installedd
11
u/Graphesium Jul 18 '26
Jokes on him, Claude works on my team's codebase just fine.
6
u/chibuku_chauya Jul 18 '26
I used to use Roedy’s site a lot. Didn’t know he’d died until now but it isn’t surprising.
3
u/DoubleCitizen Jul 21 '26
Using your own satirical paper as your team’s internal style guide is the ultimate power move
2
u/SorryTemporary1361 Jul 22 '26
Seeing a Swing GUI in 2026 is insane whiplash, but this is a cool project.
2
u/Shashi_Verma_ Jul 23 '26
A fitting tribute to a developer whose work kept helping people.
1
u/optomas Jul 18 '26
Just something about old iron, I do not know what the appeal is. An obsession for some, a draw for others. I do not know anybody who looks at something that has been working perfectly for decades and thinks 'Yeah, I hate old stuff that works like it should and never breaks.'
No ads. No freaking agreements. No data harvesting and sale. Simple.
Thanks for attending my rant, I will not be answering any questions. There's pizza and beer on the table in the back of the room.
-2
u/fragglerock Jul 18 '26
Shame your intent is to hawk your AI privacy invader... like the slop is not spread around fast enough already,
0
u/maifee Jul 18 '26
I'm going to make it a skill for Claude.
7
u/[deleted] Jul 18 '26
[removed] — view removed comment
3
u/[deleted] Jul 19 '26
[removed] — view removed comment
3
u/[deleted] Jul 19 '26
[removed] — view removed comment