Is the current API under test? Your number #1 priority with any port or major refactor is getting the current implementation defined and under test, so any replacement can be tested against the same tests. Once you've done that you should have a solid foundation and understanding of what the API actually does . In getting it under test, you'll also build up better mental models of which parts are actually separate an…
Is the current API testable? So many times I've taken ownership of code that requires an active connection to a database to even be up and running. Changing the code so it's testable usually changes the code so much it is very hard to have confidence it works the same way as the original implementation. My old company lived and died by its instrumentation of DAU (daily active users). We would try to refactor the code…
Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
521–530 of 534 posts
Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#522Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#523Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#524Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#525I don't know you personally but I doubt cognitive decline has anything to do with this. As we age, we usually end up with more and more life responsibilities, beyond just the work we are doing. All of that is input to the brain and requires energy in response. The brain is not infinite. I often feel as you do, but then I have periods where I am as light and agile in my productivity as 20 years ago, maybe even more so…
But... when I get on some personal project, I'm on fire. I can learn new languages and concepts and systems and build pretty complex things that people are amazed at.
I think it's more job burn out after years of writing code for other people. You write the code and you work towards the deadline like the world is going to end if you don't make it. Then that code is in production for a year or two. Maybe more if you're lucky, and then it's gone, replaced by some new thing. You stop caring quite as much. But you see these new young kids on fire and working all night and you get imposter syndrome and you try to care and you beat yourself up and think you're losing your touch. tmi?
Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#526Had you have COVID? Some people, including myself, have shown long term cognitive effects after it. It took me about 6 months to get back to normal.
This can also be purely psychological. Talk to a doctor!
Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#527Maybe this will help you too, but I would recommend skipping the intro chapter if you do decide to read it. I almost put it down because the example being given in that chapter was so obviously fake and contrived. But ultimately I am glad that I continued reading it and would recommend it to someone in your situation.
Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#528Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#529Re: Ask HN: I'm 40 and feel my mental ability declining. Programming seems harder.
#530It's possible I'm unique, but I don't think so. I wonder if you're just distracted or perhaps experiencing burnout.