Ask HN: How to rediscover the joy of programming?
483 pointsI remember in my teens I used to love programming. After 20 years of a career, I don't enjoy it anymore.
Have you rediscovered the joy of programming? Any advice?
Have you rediscovered the joy of programming? Any advice?
Comments (329) 141 threads
Earlier commentsWhen I discovered programming in my teens it was the single greatest thing I could do. I spent all my time doing it, constantly learning new things, breaking into new areas of discovery and then finding still more interesting thing. I wrote code for entertainment, I wrote code to relax, and sometimes people even paid me to write code.
Fast forward 20 years and I felt like it hurt to write code. So many things were in your way between the writing and the running, useless hoops to jump through, arbitrary changes to things that used to work just fine and now worked in a different way, why? why? WHY? I was pretty burnt out about it.
That lasted for a few years (okay probably closer to six or seven years) when I got a chance to help a teen learn to program who was super excited about it. I showed them the opaque APIs and they were thrilled, I showed them the crappy IDEs that prevented you from seeing what was really going on and they loved it, I showed them tool kits that created guard rails around what you could and could not code and that was just fine. They wrote line after line of code and marveled at each new thing.
It struck me that they were me and I was them and why were they so excited about this when I was so offended? After a lot of introspection I came to realize that the answer for me was that nothing had changed.
The reality I was missing was that computers haven't changed a whole lot since the IBM 360. The only thing that changed is that they got faster, smaller, and way cheaper. But their nature hasn't changed at all. They have registers, they have machine code, they have fast I/O devices and slow I/O devices, they have memory and displays and peripherals of various kinds. But at the end of the day, and this is especially obvious with various recreations and emulators, the computers of today are not really all that different in nature from the ones I learned programming on.
That in itself might not have been a killer, but the killer was software was by and large unchanged as well. After 20 years of programming, every single programming task felt like a remake of something I had already done. And for what? To implement it in the language of the day? Because you couldn't get the source to one version so you rewrite it from scratch to get better licensing terms? Lots and lots of software was done in the sense that there really isn't a good reason to re-design it, but there are a zillion reasons while you might be asked to re-write it.
Imagine if you were a screenwriter or a songwriter and someone said, "Ok we need 'Gone with the Wind' but now its going to have a gay couple, take place during the Syrian Civil war. Don't change any part of the plot or the story or the relationships, just swap Arabs for Southerners, Syria for the South, and have the love interest die of MERS or something."
Wouldn't that be a crappy job? What can you do with that? Where is the creativity? Where is the opportunity to express a fundamental truth in a new way?
I realized that I had come to hate programming because everyone was asking me to program the same stuff that had been written before but now in the Fluff Framework. I could do that with my eyes closed and so could any teen fresh out of college. What did they care that it had been implemented twice, three times, maybe five times previously in different ways?
Once I understood my problem I could start working on the solution. I decided to start writing software in areas where I had never written code before (like DevOps), or in areas where hardly anybody had re-written code before (like software radios). I also started to meticulously develop a workflow that ran on every operating system I might have to work on (Linux, Windows, and MacOS) that worked for me and saved me from having to relearn a new thing "just because" someone got it in their head that they could "improve" text editing for coders. When the friction between thoughts and code and execution are low, and the problems being coded or solved are novel, I love programming. Because I know what to avoid (arbitrarily complex tools and rewriting CRUD code again and again) my level of joy has gone up significantly.
I don't know if any of this will resonate with your question but it worked for me.
Try side projects. Could be something you're been thinking of trying out (scratching an itch), or to learn something new.
For example, recently I made a macOS Quicklook plugin for displaying the Basic listing for program files for the first 8-bit computer I learned to code on (https://github.com/sebastienboisvert/ZX81QuickLook).
Another one I'm working on is modernizing support for a USB video capture device (https://github.com/btrask/EasyCapViewer).
The first one was a lot of fun for me, as it got me back to my 'roots' (re-acquainting myself with Z80 assembly, besides the nostalgia aspects), and along the way I learned some of the newer features of CSS and JavaScript (it had been so long since I worked in JS that I didn't know it had async functions now!). The second one is out of my 'comfort zone', and is forcing me to learn some new unfamiliar frameworks that need to replace the old code.
Initially, I wanted to only allow myself to start on them once I had completed doing a lot of other things that needed to get done (being such a procrastinator) - but I found that just doing them without those restrictions relaxed me more, and allowed me to get those things done more easily anyways (it served as a diversion, but a good one that I didn't need to feel guilty about).
If you're coding day-in day-out, doing the same routine, think about 'tuning out' at night - leave the computer off, and do something else altogether; take up a new hobby, or read some books, or anything that interests you. The point is to change the scenery a bit to recharge.
If it's available to you, you might consider taking on (or asking for/seeking) something that's new to you at work, that opens up new opportunities, both for learning and potential advancement. Any good employer should recognize and appreciate that.
As others have noted, 20 years is fairly long time, especially if you've only done the same general thing; as such, it might also be worth considering a bigger change. Maybe it's time to take on something else that's more challenging, that can help you grow. That could be something along the tracks of a more managerial nature (or simply taking on more of a leadership role, if that sound too scary), or perhaps something in an entirely new direction.
There's a lot of good feedback here - soak it in, think about it, and consider what might help you get that excitement back. Making changes doesn't mean you give up what you love doing - it might be simply the thing you need to rekindle your interest in it.
I don't think more programming is a solution to being burnt out on programming.
S/He asked "Have you rediscovered the joy of programming". Doesn't mean necessarily less programming - might mean more programming of the type s/he got joy out of.
All comments shown.
Couldn't load more comments. Check your connection and try again.