You could do your programming theoretically on any laptop, although I’d say faster the better/easier it’ll be for you in the long run. In regard to your comment on upgradability I’d recommend taking a look at a Framework laptop where their whole goal is repairability which comes with the added benefit of being upgradable.
As someone else has pointed out, it really depends on your use case. Although I personally keep my drives (SSD & HDD) in a redundant RAID configuration as my data is largely mission-critical.