Lurker News
I 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?

Comments (329) 141 threads

matesz4 replies#
Great write-up on that subject is in the first chapter of "Mythical Man-Month". Here is small excerpt.

Why is programming fun? What delights may its practitioner expect as his reward?
First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. I think this delight must be an image of God's delight in making things, a delight shown in the distinctness and newness of each leaf and each snowflake.
Second is the pleasure of making things that are useful to other people. Deep within, we want others to use our work and to find it helpful. In this respect the programming system is not essentially different from the child's first clay pencil holder ''for Daddy's office."
Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles, playing out the consequences of principles built in from the beginning. The programmed computer has all the fascination of the pinball machine or the jukebox mechanism, carried to the ultimate.
Fourth is the joy of always learning, which springs from the nonrepeating nature of the task. In one way or another the problem is ever new, and its solver learns something: sometimes practical, sometimes theoretical, and sometimes both.
Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly re- moved from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures. (As we shall see later, this very tractability has its own problems.)

OskarS1 reply#
Such a great quote. I think the thing is that people weight these "joys" differently. I know that for me the learning part is probably the most important: I love the feeling of becoming better and getting a deeper understanding of unfamiliar systems. Doing the same kind of coding for decades in the same language seems very dreary to me.

On the other hand, the "making things that are useful to other people" is not that important to me. I mean, it's nice when the stuff I make is useful to other people, but it's not the primary thing that makes me love programming.
So, I think the thing is that you need to figure out why you loved it in the first place? Is it "joy of learning"? In that case: go find a weird new programming language and dive deep into it (become one of those weirdos that think everything should be made in Haskell or Prolog!). If on the other hand you like making things that other people find useful, go look for open source projects you can contribute to. Think deeply about what it was that made you love programming in the first place, and what parts are missing now that existed back then.

ekrebs#
I find this fascinating. For me, the lifelong learning is a chore, completed in order to do what I love: creating things.

And watching people use my creations to do things they couldn’t before is a reward on its own. I imagine it’s like a teacher watching their students apply their lessons in daily life.

boris2 replies#
And the rest of the book deals with why it is more often than not painful. In summary, it's complexity. Brooks argues that software, being a pure thought-stuff, is also the most complex thing we attempt to build. And it's even worse now than in his time with any concern for quality taking a back seat in the face of competitive pressures. So it's not really surprising that slapping together ever more complex systems out of ill-fitting, purely-designed components is not fun.
jeffreyrogers#
After taking a break from software side-projects to work on more physical things (woodworking, metal-working, welding). I have to agree that software is one of the most complex things we work on. Even something quite complicated that's evolved over decades, like a car, is largely comprehensible to a single person without an enormous amount of effort (i.e. many people understand how every single subsystem of a car works), while understanding everything in say linux or postgres takes a much higher level of effort (it can be done too, but there is a lot more complexity to keep track of).
_bxg11 reply#
It's so weird to me that software's complexity is such a force of nature.

My instinct is that no implementation of a piece of software should ever need to be more complex than the idea of it is (fully and precisely articulated, of course). Yet the code is usually orders of magnitude more complex than that. I don't understand why we can't solve this problem.

9diov#
The paper "Out of the tar pit" (https://github.com/papers-we-love/papers-we-love/blob/master...) discusses this in more details. Basically it argues that one needs to separate the complexity into essential complexity (complexity inherent to the problem) and accidental complexity (complexity due to the way the solution is designed). The idea is to reduce accidental complexity as much as possible while making the essential complexity more managegable.

The paper also discusses that you can separate a program into
1. state (data that changes over time)
2. behavior (computational logic)
In order to reduce the accidental complexity, you can use functional programming (which is purely behavior, devoid of complexity due to state mutation) for the behavior part. For the state part, you can use a relational database to manage it in a more systematic manner. They call it functional-relational approach to software design.
If you do game development, you likely heard of ECS (entity-component-system) and data oriented programming which in a way promotes this approach to software design.

lnenad#
I completely agree on everything said. I think we all need some personal projects to give us creative freedom and let us do things the way we feel they should be done without inhibition. When I was making https://mockadillo.com, I made all of the choices I wanted to make, vanilla JS, simple interface, no unnecessary bloat, and I loved every moment of making it.
konart3 replies#
>Here is small excerpt.

...that has nothing to do with the problem in my opinion.
Yes, programming is fun in general but then you come in touch with the reality of the job only to find out once again that
1. you are not making things, most of the time you maintain some old crap because nobody wants to spend time and money on building a new better version etc
2. The thing you are working on is useful but you can't really tell how. The damn thing is so big that all your input after years of work is almost invisible to anyone, even on your team
3. Library here, framework there and most of your own code is just a clever way of putting them together. Fascinating at the beginning, a boring routine a few years later
4. okay, sure, that's enjoyable, sometimes too much.
5. Again - works in theory, breaks after the next meeting. "No time to rework and polish. It works somehow and generates money, so go help those guys finish their work. Bad architecture? Hard to maintain? No matter, management sees only frontend anyway"

avgDev2 replies#
I feel like this sums it up pretty good for me. Even today when I get challenged and have to come up with a clever solution, I'm enjoying it but 90% of work is fetch data, show on front end, user edits, save in database.

I have been working on a large project for over 6 months now, 30k lines of code.....it still feels like I have not done much.

vbezhenar1 reply#
Work on small projects. I'm writing all projects myself and it's still fun, when you decide everything. I can write my own HTTP server implementation if I feel like it.

Continue this thread — 1 reply

vlasev#
If 90% of the work is this repetitive, perhaps you could create methods and tools to make the process quicker?
_bxg1#
Yes, I've started doing personal projects as a therapeutic exercise.

My personal projects used to be about the end goal: making something that I want to make but don't get to at work.
Lately they've been more about the exercise: the sheer pleasure of writing code that's my own, that will always be my own, that works well and all lives in my head, even if what it actually does isn't especially new or interesting. It's like a digital zen garden.

darepublic#
It does have to do with the problem. Your points only go to show why people grow to hate coding despite the enjoyment it once gave. My own suggestion is to try to create something not for money or fame but simply because you think it is good and take whatever time you need on it.
ojnabieoot4 replies#
20 years is a long time in anything. My first piece of advice is that nobody here knows who you are, nobody here knew you as a teenager, and nobody is going to understand what "love programming" and "don't enjoy it" actually means for you. The point is: anybody who claims that they got de-burned-out with this one trick isn't necessarily dishonest or naive, and if something in the comments here resonates, then by all means try it out. But they might be offering a good prescription for the wrong diagnosis.

This may sound dismissive or condescending and I promise it isn't my intent: have you considered speaking with an actual therapist? As a society we tend to think of therapists as something you do when you're mentally ill, but you don't just go to the dentist when you suspect you have a cavity: mental hygiene is important, and humans are universally bad at self-diagnosis, either physiological or otherwise.
In my current job I write Python, which I really don't like very much and I get burned out on Python-specific things. But I know my feelings of burnout are due to things that would be true regardless of the technical environment - and that an overall job with Python is far preferable to my previously miserable job with F#. And there's a lot of non-job stuff going on - such as the historic pandemic, and domestic stresses from being cooped up at home.
So speaking with a therapist about what's actually eating you might be quite worthwhile. If it is just burnout with programming, there really are specialists out there who might give well-informed, non-anecdotal advice. If it's something else, then having a professional suss it out means you can make better decisions about major aspects of your life. Plus, therapy is something that's easy to do over videochat. I am not recommending therapy, but I do think you should consider it.

xupybd3 replies#
Sorry to change topics, but are you able to expand a little on what made F# miserable. I ask as I was looking at learning it in the hopes that it would provide a positive developer experience. I would be very interested in finding out why it didn't work for someone else.
covidacct#
Hopefully OP will response. I read ojna's post to mean that he prefers F# over Python, but that the rest of the job around the F# programming was miserable (maybe biz, org, process, and personality stuff was bad).
DeathArrow#
I think that depends on the particular job and the person.
ojnabieoot#
(sorry for the late response, I try to avoid social media of any form...)

I love F#. F# is by far my favorite programming language when it comes to writing enterprise software.
The problem with the F# job was that many on the sales team, and in upper management overall, were just bad people. They were a bad influence on my boss, the CTO and an otherwise good person. I ended up resigning over an ethics dispute.

munificent#
> As a society we tend to think of therapists as something you do when you're mentally ill, but you don't just go to the dentist when you suspect you have a cavity

I started seeing a therapist about a year ago and went through a similar mental switch. I used to think of them as, like "mind doctors" to fix you when something is going wrong. But now I realize therapists are much more like personal trainers for your mind.
I'm not mentally ill or suffering any particular crisis and I still get a ton of my therapy appointments. It's basically an hour with a really smart person deeply trained in psychology who helps me make the most out of my particular brain and personality.

jerzyt2 replies#
>>> In my current job I write Python, which I really don't like very much and I get burned out on Python-specific things. I've used Ruby for several years, and I love the language. I wish I could use it today, in my daily stack, but unfortunately, Python won in the marketplace. Syntactically, Ruby and Python are pretty much equivalent, with Ruby appealing more to me. However, Python won - no arguments. Got to go with the winner.
cutler1 reply#
I've been stuck on the horns of this dilemma for a while, at least for choice of a scripting language. Ruby and Python adoption is pretty similar if you're working in web devlopment rather than data science. In London the number of Rails and Django jobs is fairly equal. Agree, though, Python is racing adhead of Ruby in general and that makes me sad.
apotheon2 replies#
From what I've seen, specifically-Ruby jobs tend to pay more than specifically-Python jobs (and more than specifically-Java jobs, for that matter), and while Rails and Django seem kinda balanced in some areas, in others Rails beats the tar out of Django for startup market share.

Continue this thread — 2 replies

apotheon1 reply#
That doesn't make any sense.

Use the right tool for the job. If "the winner" was all that mattered, we'd all be using Java now, and it would remain the top language forever, as long as it makes any sense at all to use -- not even requiring it to make more sense than other options.

afiori3 replies#
Technological progress often evolves as a Scale Free Network[1] where the nodes with most present activities are likely to see the highest investment.

It is less of a problem for mature ecosystem and tools, but being in the "not winner" position will likely induce negative effects in the long term technological progress. (I am sure there are many counterexamples)
[1] https://en.wikipedia.org/wiki/Scale-free_network

Continue this thread — 3 replies

chuck32013 replies#
I'm also not trying to sound dismissive or condescending, but it really seems weird to me that if somebody says they are have been doing something for 20 years and now they are bored of it, then they should consider seeing a therapist?

I mean, there are plenty of things I used to like that I don't anymore, should I go see a therapist every time my interests change?

ProstetnicJeltz#
I think it's more about your intent. I'm not too bothered I don't care about soccer any more, I'm not after therapy to change that.

In this case though, I see someone who badly wants to be enjoying programming, but for whatever reason they don't understand they don't. It's probably a good time to talk to someone. Usually I'd start with my girlfriend, maybe my mum, perhaps take a few weeks off and then see how I feel. If that doesn't sort it, I'd probably want to talk to a therapist.

llpg1 reply#
I'm sorry but you are reducing a career to a mere interest.

Changing hobbies is not the same as trying to change what you did for a living for the past decade.

greenyoda1 reply#
Careers are not cast in stone. Some people do change their careers if they realize that there's something else that they'd really rather be doing with their lives.

I've met an artist who became a doctor, a lawyer who became a stockbroker, a software developer who became a full-time professional musician, a professor who started a hedge fund, etc.

Continue this thread — 1 reply

ojnabieoot#
It's true this kind of stress and feelings are universal, but doesn't mean it's not a potentially serious psychological concern. Parents who feel extremely overwhelmed with lots of young children in the house are understandably stressed out - and yes, should be encouraged to consider therapy to help them manage.

I would recommend reading munificent's comment above about therapists as "mental trainers." I think everyone should consider seeing a therapist at least at some point in their lives. The idea that therapy is only when something is medically wrong is at best misguided and at worst dangerous.
When I suggested OP considers therapy, I didn't mean "uh oh, sounds like you're clinically depressed, DSM-V states that a loss of interest..." And the word "consider" is doing a lot of work there. OP's brain is clearly trying to tell them something, and having a knowledgeable certified professional to talk things through with is simply prudent when it comes to something as profound (and risky) as reconsidering your career.

DenisM4 replies#
Feynman described his run-in with burnout, you may find his experience interesting. I quoted a piece below, but the book is more persuasive with more intricacies of his situation.

Then I had another thought: Physics disgusts me a little bit now, but I used to enjoy doing physics. Why did I enjoy it? I used to play with it. [...] So I got this new attitude. Now that I am burned out and I’ll never accomplish anything, I’ve got this nice position at the university teaching classes which I rather enjoy, and just like I read the Arabian Nights for pleasure, I’m going to play with physics, whenever I want to, without worrying about any importance whatsoever.
[0] Surely You’re Joking, Mr. Feynman!”: Adventures of a Curious Character.

discordance1 reply#
Great book and a very relevant story. Read up about Feynman and his depression after being involved in the Manhattan project, and how he overcame that by 'playing' with the wobbling plate problem.
christophergs#
Imagine what a mind-fuck it must have been to be on the Manhattan project! They probably wondered if they would be responsible for the end of humanity...and I guess the jury is still out on that one.
gwd#
I went through something similar, a bit earlier in the process. I wasn't burned out with programming, but burned out with the particular job I was doing, which had basically been taken over by the work of being a maintainer: Reviewing other people's code, writing up community standards, trying to relieve friction in the community, etc. I had programming things on my to-do list; but whenever I organized the list by order of importance, the programming tasks were never anywhere near the top.

I reached the point where I'd sort my list, look at the things at the top and think, "I know these things are important, and it's certainly gratifying to have the influence and the authority to try to make these changes... but I kind of don't really care."
At that point, I realized that if something didn't change I was eventually going to get fed up and leave the project entirely, leaving a big hole. So, I said that I'd set aside Friday to do some "fun" programming, to keep the job interesting. (I ran this by my boss, and he was supportive.) I thought this "fun" would have to be something really different and new, but it turns out nearly any kind of programming will do; so although I mentally give myself permission to do whatever I want on those days if I need to, I often end up just writing "normal" "important" code from the top of my to-do list. Just that little bit is enough to "pay" for the rest of the week.
Joy is the source of our power as human beings. No human activity is sustainable long-term if the psychological cost of doing something outweighs the psychological benefit; and conversely, people can endure an amazing amount of hardship and toil if the activity is a source of joy. The key to sustainable work, relationships, whatever is to be looking for ways to find joy in those activities.

m0zg#
This is very insightful. I find that having to have a "reason" to code kind of takes away the joy of it. I.e. I start to think "is this useful?" or "is this a waste of time?". At that point all the joy is sucked out of the atmosphere and I end up doing work instead, which is very little fun most of the time.

Time you enjoy wasting is not wasted. I often need to remind myself of that.

Sosh101#
Coincidentally John Conway talks in an interview about coming to the same conclusion. I wonder if he was inspired by Feynman?
elviejo8 replies#
Programming is 1,000 room hotel of which we live in only one.

I recommend you study different programming paradigms because in them we can find really interesting approaches to solve problems.
For me those have been:
- functional programming (with Haskell) - logic programming (prolog) - Constraint Programming with the excellent Coursera class on minizinc.
Those paradigms made programming fun again for me.
PS: I also stay away from JavaScript... When I was working with JS.. I was seriously considering leaving programming... Thankfully I changed jobs and I haven't had to touch it anymore.

tfleming3 replies#
What was it about JavaScript that wanted you to leave programming? I'm just curious.
airstrike2 replies#

    0.1 + 0.2 → 0.30000000000000004
dkulchenko18 replies#
That's not unique to JS.

  $ irb
  irb(main):001:0> 0.1 + 0.2
  => 0.30000000000000004
  irb(main):002:0>


  $ iex
  Erlang/OTP 22 [erts-10.6.2] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [hipe]

  Interactive Elixir (1.10.2) - press Ctrl+C to exit (type h() ENTER for help)
  iex(1)> 0.1 + 0.2
  0.30000000000000004
  iex(2)>

  $ python
  Python 2.7.17 (default, Dec  2 2019, 13:23:33)
  [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.12)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> 0.1 + 0.2
  0.30000000000000004
  >>>

Continue this thread — 18 replies

Continue this thread — 1 more reply

Continue this thread — 2 more replies

Continue this thread — 7 more replies

Load more comments