Any ideas what could happen to your BTC holdings if your storing them on an offline hard wallet and want to sell them 5-10 years later? Would there be code issues where the BTC you have now will not be recognized or cashable at that that time ?
Im curious because I bought a hard wallet but have no idea how usable the BTC version i have today will be in the future?
There would be zero code issues related to the Bitcoin wallets aside from issues that spring up due to the hardware breaking down in one form or another, if that even happens at all to you. Aside from that the Bitcoin are still spendable and always recognized as valid, so there is no issue with having the Bitcoin forgotten about and then used later.
As long as you have the private key you should be able to use the wallet despite forks to the blockchain, assuming I understand the tech correctly.