Ask HN: Ever lost your love for coding? How did you get it back?
Have you ever lost the love for coding? I sure did after a grind as CTO of a startup and then director at a financial services company. Needing everything yesterday and dealing with the corporate politics - I found my work was no longer any fun. I took a sabbatical and leveled up on Python/Django and started having fun again. I even made and sold a micro-startup that was Django based. What I loved was it allowed me to be productive as an individual - I didn't need a team of 10 to produce something. Have you ever lost your love for coding and then gotten it back? If so how?
81 comments
[ 3.3 ms ] story [ 190 ms ] threadFor me I always did some coding at home on my own projects. For me one of the most stressful things in coding professionally is dealing with shit outside of your control. Being able to work on a project that is entirely conceived and written by you lets you have that control back, even if it's on a small toy project.
For regaining joy in programming specifically, I'd say the same as I say to people trying to learn in the first place. Try to find a project that has some real world impact that you actually care about (even if it's trivial or frivolous to others) and use that as a focus to get you through the boring bits.
Similar to woodworking or other crafts, a crappy product that you (or someone else) can actually use for something is a lot more satisfying than a perfectly made thing with no use to anyone.
So many people in tech (including me) try to turn to craft/art as a way of 'escaping' the grind. It's often not the coding that gets people down but all the 'organisational' activity (or management or however you want to phrase that) that goes alongside.
Another thing for me is that I actually can finish these projects opposed to many of my private software projects where I just lack the time (and maybe energy) to finish them.
I realized a few weeks ago that I am happier since exchanged coding in my spare time with wood crafting in my spare time.
2. Learn to hack them
3. Build tools to hack things (or learn existing ones, e.g. https://github.com/GhostPack and https://github.com/cobbr/Covenant for you .NET folks)
Going from business apps to tools offers a nice change of pace.
You can always fix it later... or not!
https://www.thestrangeloop.com/
For me it was the opposite. Being able to give people an environment in which they can express their creativity and thrive has been wildly satisfying. I love building the boring parts of a codebase (setting up scaffolding, CI/CD, etc) because I love seeing people be able to build off of it.
After 15 years I'm no longer interested. I don't care about the web, css, javascript, react, testing....it's just an increasingly tedious and difficult headache to me.
I have a creative urge, and a problem solving urge, but i feel maybe it can be better expressed through another medium. I just wish I had some way to unchain myself from this 9-6 5 days a week soul-less grind.
Even when I did enjoy my job before, the increasingly complexity, the amount of tedious plumbing, spending hours fixing obscure npm bugs on a tool I built only 3 months ago (and worked perfectly). I just hate it all.
To answer your question, i haven't gotten it back and don't think i ever will.
To OP: What has re-motivated me to code is not the coding work itself; but the application of my skills to solve problems that I care about.
and the frustration of trying to stream a video on reddit whilst the ad seems to have no trouble loading and playing.
[0] to be fair, I complain about this at least 3 times a day, sometimes to an empty room.
I have tried to get myself motivated to do programming projects again and it just isn't taking.
It doesn't pay as well as web development. But it moves more slowly, it's not going anywhere, and it can be a stepping stone towards getting to work with your hands in a technical role.
As a more general response to OP's question, you can always switch industries. We're lucky to work with code, because everything runs on it. Finance, agriculture, medicine, vehicles...moving to a different area of the economy can feel refreshing, and it gives you a chance to learn about things that are unrelated to coding. Soulless web dev is where the big money is, but you won't starve working in other areas.
This I did not know.
> vehicles
This I hoped would never happen (security and privacy) - but anyway. (It has been a problem for well over a full decade, I know.) Anyway, as said, there is some light side: providing features while defending as much as possible security and privacy is a stimulating goal. One would feel more comfortable, though, if that were an established, common, given, granted goal.
https://www.theverge.com/22533735/john-deere-cto-hindman-dec...
I’d be interested in some started points, books, etc. to embedded, even beginner ELI5 fun projects. I am familiar to RPis, ESPs and similar microcontrollers for fun, but curious about what career and industry practices are common and different compared to app dev.
I got into web dev around 98-99 and i've been doing it ever since.
I think what appealed to me about it about the time was the immediacy of it, being able to write these little js widgets and see them in action instantly. Trying to build these intricate table layouts to replicate the offline versions of various websites that came on a disc with internet magazines.
But the field has changed a lot over the years, first it was the iPhone and mobile-web, CSS animations, SVG, Canvas, Node JS, with JS on a server, React, Redux, State management, and now CI and DevOps, Unit tests, TS, - and the endless deprecations and changes that seem to occur faster than I can keep up with.
The things I used to enjoy are only a fraction of my job, and even those parts have become kind of complex - at least for me. I feel like, as others have said, front end is quite messy and the result of that is that I never feel satisfied that I can complete something and just "Get it right". Seems like the edge-cases are infinite, devices, displays, and other weird quirks...
- sorry for the rant.
Today I had to work with Angular, this thing is insane. So many files, so many layers, so slow... This thing makes me hate what I do.
I wish web dev took a different direction towards more simplicity.
(I've never been able to monetize anything for more than a few bucks a month, simply because I like to spend more time on creating something new than growing what I have)
Your initial comment made me realize I'm perhaps more interested in creating things that do not solve a problem (like my side projects do), but that express an idea instead.
I'll try and consider my knowledge of coding (Python and web front end) as an extra tool for expressing ideas, next to writing and talking.
Thanks for inciting this train of thought within me :)
If you're a .NET enterprise CRUD guy, try web. If you're web, try C++ application work. Try kernel stuff, try embedded. Branch out.
I like the sound of that. Thought you had made it up till I searched for it. yes... exactly a difference in problem space.
If you happen to "lose appetite", you are suffering the consequences of unhealty situations. You must fix them.
Many people who must suffer unhealthy situations, bound to conditions difficult to overcome, actually find a shelter in those hours, carved in the day, in which they can fulfil their creativity and productivity, do something useful with their time. You should use your talents to compensate with the ugly sides of "being alive here today" (which should of course be accompanied by the underlying conscience that "there and yore was much worse, though"), to break with the permeating effect of the ugly, which could enter too much into you - but mind you, you should spend time in creativity and productivity and yet work on planning "how to exit the bad situation". Find time for the healthy things to enjoy - coding is one -, and at the same time work/plan to leave, make past and gone, those things that drag you into a loss for appetite.
One thing I always did was learn new things, usually before they became popular, and find a way to work in that; new things can often reinvigorate your love of the coding part. Sadly the other parts have actually gotten worse over the decades; however the opportunities have also expanded, if you can find a way to get in.
I still work as a programmer because that's my trade and my work ethic allows me to do it well; and lets face it, I have to pay bills, but my passion for it is gone.
The Best of edw519 - A Hacker News Top Contributor http://static.v25media.com/edw519_mod.html
1. learning python...which made me so productive without needing to learn some verbose language like java, etc.
2. open source software that let me build stuff without needing to pay large license fees.
I find it 1000x harder to get excited about code I need to write vs. code for the current bee in my bonnet.
Oh, coding. We used to be so similar. We'd gaze into each other's eyes and get lost for hours, days at a time, teasing the vast boundaries cast by simple questions. But coding changed. You changed, coding, you changed and you left me behind.
All you care about now, coding, is looking in the mirror. Measuring yourself. Analytics. Velocities, sprint points, backlogs; you say you want me, coding, but you really just want me to be there and watch while you go do what we used to do, as the younger developers frolic with the old questions anew. I think, coding, that you're just using me because I accidentally showed you I could do the other things.
You say that we're still coding, coding, but this relationship died a while ago and I'm still around because I'm in love with a ghost.
I've ranted on this here: https://news.ycombinator.com/item?id=28568053.
I have some ideas for improvements, but alas, between being a parent and working as a software dev, I hardly have the energy to explore them.
I also think if you love coding then moving up the ladder is neither necessary or helpful because once you get into having to be responsible for other folk than yourself, fun tends to drop off. Coding is potentially a creative activity if you allow it to be.
Switching to Elixir - learning what OTP brings to the table, e.g. observers, genservers - distillery compiled binaries per OS, negating the need for a lot of the devops complexity, e.g. docker, node, - the switch to esbuild and liveview for less JS cruft - FP transforming of immutable data to more immutable data vs managing state
TBH all of it has been a breath of fresh air.