Lurker News
I'm around 40 and recently I have been asked to port an API from one language to another. The code I'm porting is average code, not terrible, but plenty of little things to complain about.

I feel like my past self could have handled this task, but I am really struggling. Porting this API will require a deep understanding of the existing API, which, of course, has several layers of abstraction.
I can't seem to hold more than about 2 levels of call stack in my head. There's the entry point function which calls other functions, which call other functions, which call other functions, etc. You know how it is, code calls other code, and logically it forms a tree of calls and return values that often goes several layers deep. I struggle to hold more than about 2 levels of this call stack in my head. By the time I'm down in the weeds I've forgotten what I'm doing, what the purpose of the actual API call is.
I don't know how to break this into small enough chunks that I can understand it or make progress on. Imagine I gave you the code for the sha512 algorithm, and a hash, and asked you to find the pre-image (the input). This is how I feel. Where do I even get started? How do I find even a single chunk of manageable work to break off.
The hard part is, several other developers are making progress on porting this API. Why can't I? What happened?
I don't know if this task is just an especially bad fit for me, or if my mental abilities are declining?

Comments (510) 299 threads

Earlier comments
cjbgkagh1 reply#
Could be burnout, could be ME/CFS, could be Long Covid… could be something else. Have you noticed a limited working memory or loss of enthusiasm? You might notice things like forgetting why you walked into a room, or abandoning hobbies and activities you no longer enjoy. I have ME/CFS from hEDS (far more common than people think, especially here on HN, and double especially those here on HN with ADHD) so I ended up taking a bunch of pharmaceuticals which got me back to work and sharper than ever. One of the core combos I take is a low dose of Modafinil in the morning and Amitriptyline at night, together these act a bit like a triple monoamine reuptake inhibitor but with better timing of action. It’s a reasonably common treatment for depression.

The point is, even if you live a perfectly healthy life with the perfect diet, exercise, and rest, it’s possible that something else is out of kilter and may need serious intervention.
Maybe try a max exertion test for post exertional malaise.

P_I_Staker1 reply#
These treatments are legally unavailable to many Americans, due to bullshit moral panics.
cjbgkagh1 reply#
They are Rx in the US which makes them harder to get. I’ve not gone down that path so I don’t know how hard, but I’ve read of many Americans using them so it is at least not impossible.

I do think they should be OTC. When I faced the roadblock of not being able to get the medicine I wanted I did go to black market and would do it again in a heartbeat.

P_I_Staker1 reply#
I honestly don't think I can, but it might be the best option:

   1. Illegal drugs

   2. Being a head trapped in a jar, hated by all

   3. A bullet
The psychs practically beg you to do it. I was just told to give up ever having a professional career.

Why is nobody talking about this outrageous conduct?
If you mention these concerns, they will suddenly discharge you, and/or treat you like garbage.
All we're doing is creating pipelines to prison. The industry has no problem sending ill people to prison forever. Not only that but droves of people are dying because of these policies.
I'm shopping for a new one, but their initial intake forms are immediately confrontational, and this is someone that seems to have good reviews... I went through several that seemed to have good reputations, and none were taking patients.

Continue this thread — 1 reply

aeschinder1 reply#
I've been thrown to the wolves many times before, having to absorb and trace huge commercial codebases and be productive the same week on making updates and answering questions. Over abstraction is a real thing - real smart developers seem to pride themselves on how much juice they can squeeze out of dependency injection frameworks such as Structure Map and leverage the syntactic sugar of these tools until the solution is almost crystallized with hyper engineering.

I'm telling you this because I don't think it's you necessarily, but that more and more there are codebases that are dense with this kind of thick obfuscating abstraction.
I dropped out of IT when I was 52. I'm 55 now and don't think I could keep up with the constant myriad changes in literally all aspects of tech. Change for change sake is a scourge that lots of companies fall prey to in the name of keeping up which feels to older developers like chasing the rainbow that is just over the next hill...

disqard#
"the solution is almost crystallized with hyper engineering"

Reminds me of "The grug brained developer" :)
https://grugbrain.dev

404mm#
42 and I feel the same. If I dig more into what led to this, I can identify two events:

1. Covid. My number came up in September 2022. The mental fog is real and is not what generally people think it is. For me it surfaced as diminished short term memory (example, write down a phone number you see one a website. Before covid, it’d take one or two looks. After covid 3-4 looks back and forth. Hand in hand with this - affected executive functioning. In other words, you just feel dumber lol
2. Burn out. It starts with lack of energy, low executive functioning and progresses into depression and/or anxiety. If this applies to you - get help. Make changes. This one you can fix.
Somewhat related, 41 was the age I realized I don’t want to drink again. Some people have this moment earlier, some never. 1.5years later, the feeling is freeing and awesome. I was not a heavy drinker before but lately I was less and less enjoyable with more hangover (and irritability) the next day.

markbnj1 reply#
Programming requires deep thought and concentration. Are you sure the issue isn't simple distraction? I'm 62 and I feel like the major thing that has changed in 35 years for me is the crazy amount of unrelated things (youtube, HN, phone notifications, you name it) constantly competing for my attention. When I was in my 20's I would literally sit in near-silence working for 10-12 hours at a time. Nothing would interrupt or distract me. Of course the Internet has also tremendously empowered engineers by putting a wealth of information at our fingertips, so it's a prototypical dual-edged bladed weapon.
Starwatcher2001#
Thats a really good point. In a similar way the number of available technologies gets bigger and bigger as we age, more choices, more to know and more things to fiddle with.

Decades ago the whole MSDOS machine was mine and my tools were an editor, C compiler and linker. Now you need to know a much larger number tools, frameworks and environments before you write a single line of code.

Load more comments