After I started letting my projects have the names my IDE assignes until they have proven themselves to be interesting my success rate seems to have increased.
I think this is related to the same underlying thing you describe.
Well, fastforward to the last Monday, I'm a little stuck and it gets me wondering how I managed to solve it (if ever) the last time. A couple of searches later I found out what I wrote a 'proper' REST-like API wrapper, with OpenAPI, the proper HTTP response codes and whatever... just a year ago. Yet I spent so much time on it I didn't even used it anywhere and subsequently forgot about it.
There's some weird logic in cleaning up code, especially that of others. You curse and wonder what the hell they where thinking, but on the other hand, they got the thing of the ground so...
It is why there is nothing new on the web and what's here today will be roughly the same as what's here in 50 years time.
There should be one programming stack that does work and you can understand it completely without going to MIT or getting blindsided by vendors and it sticks around for decades and you don't have to get stuck in boilerplate, or learn-the-hard-way how a bubble sort works, or how a data structure should be designed, or how an algorithm should be crafted.
Yeah, and humanity should speak the same language everywhere. Also, we have enough food for everybody, why are some people starving?
Welcome to reality.
When people offer utopias, that doesn't mean they were born yesterday or are terminally naive. Rather, that's how all big social paradigm shifts start at some point.
Thanks for listening to my ted talk.
Fred Brooks wrote a good book on how to hook several Employee installations together to act as a distributed code generation system.
Unfortunately, use of Employee isn't free, but if you have a PhD and work in academia you can get access to installations of Graduate Student.
But, he also made $100 / hour living in a low wage country (east bloc / former soviet). He'd buy a domain and its content, redo the software, do some SEO and the like, then sell it for 10x what he paid for it in like 3 months. ~$7000 profit for three months of work is not bad, and I doubt it was fulltime.
All in all, this was one of the formative experiences that has led me to seeking out deeper and larger projects to spend my time on, rather than the string of smaller more trivial things that lend themselves to this approach to software. But the other side of that coin is that I'm a lot more content now with the understanding that other people just have different preferences than me. I spend a lot less time thinking about what the right way to build software is, and more time thinking about what's right for me.
I worked with him on a lot of fun projects, because we get along well, and he really doesn't know what he is doing, copy / pasting all other the place, no archi, no design, bad naming... Half of the time he's not sure what the code is really doing.
And it works.
I noticed how in the end he accomplished more than I did. He didn't sweat the small stuff, he worked more, way more, as well. He didn't write unit tests, but he always tested everything manually again and again by playing with the result like a kid.
In the end I embraced the idea.
I wanted to code an contact software because all the ones I tried didn't do what I wanted. I didn't, I just used django-admin and called it a day instead of trying to craft some slick UI. I've been using that terrible stack of forms for 10 years, and it did the job.
I needed a cli for totp years before any existed, I just fired Python and dump, in clear text, the seeds in TOML. Took me half a decade to add encryption to it, because symlinking the file from a veracrypt container was sufficient and required little work.
2 months ago I wanted a timer to top up a time budget when I do sport, and consume it when I play video games (https://substackcdn.com/image/fetch/w_1456,c_limit,f_webp,q_...). I just splatted a wall of tailwind regurgitated by chatgpt and pupetted by HTMX. Turns out it was just enough. I show that to my friends that were asking me wtf I was doing with this, and 4 people asked me an account, one a trial for doctors for addiction programs (!).
Wish I told my young self to stop being so obsessed with doing things right or even working on important problems. I never managed to reach "right" in my entire life anyway.