Live data from Hacker News

Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

news.ycombinator.com

381–390 of 534 posts

Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

#381

Earlier quoted context omitted.

I had unlimited energy till about 40 and then I hit some sort of cliff. This coincided with covid and being indoors using high velocity media like reddit/insta. I am not sure how much is age and how much is habits that caused this.

Recent studies suggest that counter to popular belief our metabolism doesn't change from age 20 to age 60. There are individual factors that can certainly account for your change of energy and I would certainly look for culprits. I recently did a big change in myself - adjusted sleep, took specific supplements which I was suspect was deficient in and have found my energy to be much fuller. Do not ignore what your bod…

A study https://directorsblog.nih.gov/2019/12/17/aging-research-plas... found some blood protein changes at ages 34, 60 & 78.

Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

#383
Maybe it was just implemented with too much abstraction, which can make things more confusing.

Instead of porting it as-is, rebuild it with the actual functionality required and throw away the overly abstracted parts.

Oh, and I echo the other guy: make sure you have a test harness that validates everything, so you know if you've done it correctly.

Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

#384

Earlier quoted context omitted.

I'll second this. Based on my own experience (I'm 50) it's all about energy levels. When my energy is high, I can code like I did two decades ago. Probably better. I guess the difference is that in your twenties, energy is almost for free. As you get older, you've got to be smarter about it - all the usual things - diet, exercise, avoiding stress... Not that I'm good about those things - I do OK but not great. Someti…

I had unlimited energy till about 40 and then I hit some sort of cliff. This coincided with covid and being indoors using high velocity media like reddit/insta. I am not sure how much is age and how much is habits that caused this.

I used to be able to work 36hrs straight (random work crunch every few years). Hit 40, launched into such a session, 2am hit a wall... "Can't. do. this..." Laid my head down on my desk and slept for 2hrs. Haven't been able to pull an all-nighter since.

Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

#386
Maybe you know "better" now?

With the experience you have built, you know which problems can occur, which architectures work well, which traps appear in the code you read, ... so when you have to take on something, you may be more interested in turning it around, but it's a tough task, and sometimes not even possible due to your company, so you end up being depressed

On thing I have become good at with time is refactoring, but when I can't do it properly, don't have enough information, not interested by the subject, or the team, I end up mostly giving up.

I think this is kind of being more wise and doing things that matter (to ourselves), instead of just writing some piles of code.

Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

#387
the podcast "future of code" recently did an episode discussing the paper "programming as theory building."

maybe it's just because i listened to that podcast last week, but it sounds like you don't have the theory of the api you're porting. by theory i mean an intuition of what the software is, what motivates its existence, what it ought to do. to define the term "theory" by an example from the paper (or possibly from "the concept of mind" by gilbert ryle, referenced by "programming as theory building"): you don't have newton's theory when you can answer a question that he answered the way he answered it, you have newton's theory when your answer to a question he wasn't ever asked is how he would've answered.

so this notion of theory means, first, you can never record a theory. you can't write it all down. to have the theory means you can apply it to any new circumstance that arises, so you can't just write it all down, because you'd be writing forever. a theory is knowing how to respond. the impliction for software is that the code and documentation can't communicate the theory of the software. a theory can't be communicated at all, it has to be acquired.

so how does one acquire a theory? how'd you learn to read? how'd you learn to write? how'd you learn arithmetic? theory transmission is a social function. people with the theory show you, teach you, guide you in forming the theory for yourself.

the conclusion is that software firms should put a lot of effort into retaining people who have the theory of their software, and put a lot of effort into transmitting that theory to new people. that's not the world we live in, is it?

actually, i think that conclusion applies to any business, yet onboarding is terrible everywhere, and workers are treated as interchangeable.

what i'd be asking myself if i were you is who has the theory of this api you're porting, and how much of their time can i get?

Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.

#389

Earlier quoted context omitted.

I think the problem is you start saying "no" to more things (literally and metaphorically) before you've even worked the idea or given it a shot. This is purely supposition.

That is the gist of it, yeah. You get discouraged because you can't come up with anything interesting, whereas when you were 20 everything you came up with seemed interesting. I'm just generalizing my own experience of course, and there are more things at play than just this - like I think not yet knowing all the rules has something to do with it. I try to be aware of it, and take some advice I heard once at an artis…

> You get discouraged because you can't come up with anything interesting, whereas when you were 20 everything you came up with seemed interesting.

This is so true. I'm 37 now, and I'm struggling with that - I'll come up with a project idea, only to second-guess myself whether it's ambitious or innovative enough, and really worth spending the limited time I have available. I end up questioning whether it would really count, or just serve as frivolous self-entertainment.

When I was younger, it was good enough that ideas were interesting or would help me achieve mastery. Once you have a bunch of well-worn skills under your belt and have plenty of options and the ability to make commitments, everything becomes just a function of effort/time and choosing what to do next becomes the biggest challenge.

I'm trying to cut myself some slack and allow myself some amount of time to pursue frivolous ideas. At least you can intentionally combine them with e.g. new implementation technologies (e.g. a new tech stack or new tools) to get important first-hand experience and maintain relevant skills (and therefore decision freedom).

I'm also hoping that some day, having kids might help me with some of these anxieties :-). If I revisit/retread older ground then perhaps to make it accessible to them at home or teach them by doing little projects together and give them a boost and allow the next generation to take it further. I.e., even doing non-innovative stuff could count, as a fundamentals teaching moment for someone else. Hope they take an interest!

Post reply on HN