hold what then? become investment manager in free time instead of my day job as software developer?
If you are in the US and just want to keep the value, Treasury Inflation-Protected Securities (TIPS) directly from the U.S. Treasury. https://www.treasurydirect.gov/indiv/research/indepth/tips/r...
Just buy a mutual fund (preferably indexed) from somewhere like Vanguard and let them figure it out.
For the other overwhelming majority of life events, you should invest your savings prudently, instead of stuffing them into a mattress.
If you have no savings, this is a moot point - but so is inflation. Why do you care that money is losing value if you don't have any?
If anything, if you are in debt, you want inflation - because it lets you inflate your debt away.
And as a consequence the wages you earned by making tech year ago should have less value than the wage you earned today. You should expect small inflation. If you want deflationary money, wages should decline year by year.
If you want to save, don't hold cash.