Alternatively if you are a person in this field and would have to do things again from start then what/how would you do things differently given that its 2023?
I personally think there will be legacy code to maintain and smaller businesses that need good old-fashioned programming.
Don't take Hacker News comments as your sole window on the world -- this tends to be a subset of the tech sector with its own bias towards the more trendy new tech. Some more general advice: go to Meetups. You learn a lot about new tech, but it's also a good way to network. And don't be afraid to change jobs -- that's how you increase your salary. (Along the same lines, it's helpful to "always be looking.")