I am not sure if you will be 100% fine, it is all about personal preferences and what you what to do.
However i can write how my most recent PC build went (well 2 most recent ones). I kind of live in two places summer in one (2-3 months) rest of year in another.
So in 2018 i bought main PC for my longer term place. It was some intel i7, with 16gm ram and 2080TI (got pumped on RTX and all that marketing bs about rendering). So that PC is still my main dev PC (working on it now) i just upgraded ram to 32gb (was tempted for 64gb).
This PC i7 + 32gm + 2080TI is still quite comfortable to develop on, however i am coder, i do not make huge streamed levels. PC sometimes complains about lack of VRAM (when i load 10 HDRI textures in content browser and edit 2-3 materials with those).
Other PC that i bought in 2020, has 3070 + some AMD + 64gb of ram. Yes it is much more comfortable to work, but mostly same performance (just does not get to maximum fan speeds and constant whine under load. And more ram makes it more responsive.
So both are 5 - 7 years old, but were on that more enthusiast side of PC when i bought parts.
As long as you mainly are coder. Some enthusiast grade card will do (just do not get fooled by nvidia messing with what is enthusiast what is not ex: 2080TI was at a time the max card. Now 5080TI is a lie it should be around 5070 or so if they kept old naming policy. So do not get fooled by this, check places like Linus tech tips.
If you plan to be artist/level designer, add SSD, and get 64gb ram. Also card with more than 12gb is a must.
If you want to make (comfortably) huge streamed levels, get 128GM and best card you can get (more VRAM). CPU wise, specs that you find ok for coding, should be fine for anything else.