I completely disagree with you.
First it's really not that hard to replace components in a desktop and second the virtues of reusing components are some of the most valued one in today's world. I mean, global warming is not going to solve by itself right?
Apart from specific needs like gaming and video editing you don't need newer components. What may slow your computer is crappy corporate software, dozens of greedy tabs open, fancy animations on your 4k screen.
But you know what? All this is gone when you use an OS that's does not make high-end components assumptions (i.e. linux).
Yeah, you don't need macOS or windows to be a productive programmer.
Apart from specific needs like gaming and video editing you don't need newer components. What may slow your computer is crappy corporate software, dozens of greedy tabs open, fancy animations on your 4k screen.
But you know what? All this is gone when you use an OS that's does not make high-end components assumptions (i.e. linux). Yeah, you don't need macOS or windows to be a productive programmer.
Edit: added some punctuation